Timthumb Vulnerability Scanner - Version 1.2

Version Description

  • Updated scanner to more reliably find versions of timthumb - avoids conflict with plugin "Category Icons".
Download this release

Release Info

Developer peterebutler
Plugin Icon wp plugin Timthumb Vulnerability Scanner
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

cg-tvs-admin-panel.php CHANGED
@@ -3,7 +3,7 @@
3
  <div class="postbox metabox-holder" style="float:right;width:300px;padding-top:0px">
4
  <h3 class="hndle" style="text-align:center"><a href="http://codegarage.com/"><img src="<?php echo WP_PLUGIN_URL; ?>/<?php echo basename(dirname(__FILE__)); ?>/locker_logo.png"></a></h3>
5
  <div class="inside">
6
- <p><strong>Tired of worrying about your WordPress sites?</strong></p>
7
  <p><a href="http://codegarage.com" target="_blank" >Locker</a> from <a href="http://codegarage.com/" target="_blank" >Code Garage</a> provides rock solid daily backups and hack monitoring and cleanup (for malicious code and vulnerabilities like this one), as well as personal, one on one support when you need it. Plans start at $15/month for 10 sites.</p>
8
  <p style="text-align:center;padding-top:15px;"><a href="http://codegarage.com/" target="_blank" class="button-primary">Click here to learn more</a></p>
9
  </div>
3
  <div class="postbox metabox-holder" style="float:right;width:300px;padding-top:0px">
4
  <h3 class="hndle" style="text-align:center"><a href="http://codegarage.com/"><img src="<?php echo WP_PLUGIN_URL; ?>/<?php echo basename(dirname(__FILE__)); ?>/locker_logo.png"></a></h3>
5
  <div class="inside">
6
+ <p><strong>Wish this was already done for you?</strong></p>
7
  <p><a href="http://codegarage.com" target="_blank" >Locker</a> from <a href="http://codegarage.com/" target="_blank" >Code Garage</a> provides rock solid daily backups and hack monitoring and cleanup (for malicious code and vulnerabilities like this one), as well as personal, one on one support when you need it. Plans start at $15/month for 10 sites.</p>
8
  <p style="text-align:center;padding-top:15px;"><a href="http://codegarage.com/" target="_blank" class="button-primary">Click here to learn more</a></p>
9
  </div>
cg-tvs-filescanner.php CHANGED
@@ -72,7 +72,7 @@ class CG_FileScanner{
72
  }
73
 
74
  function scan_inventory(){
75
- $pattern_1 = "Timthumb.*Ben Gillbanks|http\:\/\/code\.google\.com\/p\/timthumb\/";
76
  $pattern_2 = "define\s*\(\'VERSION\',\s*\'[23456789]\.[0-9]";
77
 
78
  foreach($this->Inventory as $path){
72
  }
73
 
74
  function scan_inventory(){
75
+ $pattern_1 = "TimThumb script created by Tim McDaniels and Darren Hoyt|TimThumb script created by Ben Gillbanks\, originally created by Tim McDaniels and Darren Hoyt|TimThumb by Ben Gillbanks";
76
  $pattern_2 = "define\s*\(\'VERSION\',\s*\'[23456789]\.[0-9]";
77
 
78
  foreach($this->Inventory as $path){
readme.txt CHANGED
@@ -43,6 +43,9 @@ No. This plugin exists to make sure your door is locked, not drag the burglers
43
 
44
  == Changelog ==
45
 
 
 
 
46
  = 1.1 =
47
  * Updated scanner to find *really* old versions of timthumb.
48
 
43
 
44
  == Changelog ==
45
 
46
+ = 1.2 =
47
+ * Updated scanner to more reliably find versions of timthumb - avoids conflict with plugin "Category Icons".
48
+
49
  = 1.1 =
50
  * Updated scanner to find *really* old versions of timthumb.
51
 
timthumb-vulnerability-scanner.php CHANGED
@@ -4,7 +4,7 @@ Plugin Name: TimThumb Vulnerability Scanner
4
  Plugin URI: http://codegarage.com/blog/2011/09/wordpress-timthumb-vulnerability-scanner-plugin/
5
  Description: Find all those pesky timthumb.php scripts with vulnerabilities BEFORE you get hacked! Scans your wp-content directory for vulnerable instances of timthumb.php, and optionally upgrades them.
6
  Author: Peter Butler
7
- Version: 1.1
8
  Author URI: http://codegarage.com/
9
  */
10
 
4
  Plugin URI: http://codegarage.com/blog/2011/09/wordpress-timthumb-vulnerability-scanner-plugin/
5
  Description: Find all those pesky timthumb.php scripts with vulnerabilities BEFORE you get hacked! Scans your wp-content directory for vulnerable instances of timthumb.php, and optionally upgrades them.
6
  Author: Peter Butler
7
+ Version: 1.2
8
  Author URI: http://codegarage.com/
9
  */
10