From 9b5e96b66f8bd00b89a8d00a11cbe1361173d062 Mon Sep 17 00:00:00 2001 From: jvazquez-r7 Date: Thu, 25 Apr 2013 14:53:09 -0500 Subject: [PATCH] Fix @jlee-r7's feedback --- modules/exploits/unix/webapp/php_wordpress_total_cache.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/exploits/unix/webapp/php_wordpress_total_cache.rb b/modules/exploits/unix/webapp/php_wordpress_total_cache.rb index a3f3229765..6f9245f596 100644 --- a/modules/exploits/unix/webapp/php_wordpress_total_cache.rb +++ b/modules/exploits/unix/webapp/php_wordpress_total_cache.rb @@ -128,7 +128,7 @@ class Metasploit3 < Msf::Exploit::Remote def find_post_id (1..1000).each{|id| - vprint_status("#{peer} - Checking POST ID #{id}...") + vprint_status("#{peer} - Checking POST ID #{id}...") if (id % 100) == 0 res = check_post_id(normalize_uri(target_uri) + "/?p=#{id}") return id if res } @@ -195,7 +195,7 @@ class Metasploit3 < Msf::Exploit::Remote end end - random_test = rand_text_alpha(4096) + random_test = rand_text_alpha(64) @sum = Rex::Text.sha1(random_test) print_status("#{peer} - Injecting the PHP Code throw a comment...")