View Single Post
Old 08-26-2011, 06:53 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
For those who have many wordpress themes with timthumb

This might be useful for you.

Code:
#!/bin/bash

# timthumb.php fix
# replace timthumb.php with fresh non vuln version

wget -q -O ~/newtim.php http://timthumb.googlecode.com/svn/trunk/timthumb.php
find . -name "timthumb.php" -exec bash -c "echo patching {} && cp ~/newtim.php {}" \;
rm ~/newtim.php
will replace all copies of timthumb.php on your server with a fresh copy from the trunk.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff

Last edited by fris; 08-26-2011 at 06:56 PM..
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote