Let default timeout for send_request_cgi

unstable
jvazquez-r7 2012-11-16 18:09:47 +01:00
parent 51f238ec38
commit e8fe6031e9
4 changed files with 5 additions and 5 deletions

View File

@ -65,7 +65,7 @@ class Metasploit3 < Msf::Auxiliary
'method' => 'POST',
'ctype' => "text/xml",
'data' => message,
}, 5)
})
rescue ::Errno::ECONNRESET
print_good("#{peer} - NFR Agent didn't answer, DoS seems successful")
return
@ -231,4 +231,4 @@ _HEAP @ 9e0000
0122c460 45 3e 30 3c 2f 46 53 50 E>0</FSP
0:007> db 0122c468 L10
0122c468 41 43 45 3e 3c 2f 56 4f-4c 3e 3c 56 4f 4c 3e 3c ACE></VOL><VOL><
=end
=end

View File

@ -70,7 +70,7 @@ class Metasploit4 < Msf::Auxiliary
'method' => 'POST',
'ctype' => "text/xml",
'data' => message,
}, 5)
})
if res and res.code == 200 and res.body =~ /<RESULT><VERSION>1<\/VERSION><STATUS>0<\/STATUS><CFILE><\!\[CDATA\[(.*)\]\]><\/CFILE><\/RESULT>/m
loot = $1

View File

@ -70,7 +70,7 @@ class Metasploit4 < Msf::Auxiliary
'method' => 'POST',
'ctype' => "text/xml",
'data' => message,
}, 5)
})
if res and res.code == 200 and not res.body =~ /<RESULT>/
loot = res.body

View File

@ -134,7 +134,7 @@ class Metasploit3 < Msf::Exploit::Remote
'method' => 'POST',
'ctype' => "text/xml",
'data' => message,
}, 5)
})
if res and res.code == 200 and res.body.include? "<RESULT><VERSION>1</VERSION><STATUS>0</STATUS></RESULT>"
print_warning("#{peer} - File successfully uploaded: #{filename}")