Provide feedback if the device appears to be patched

GSoC/Meterpreter_Web_Console
asoto-r7 2019-02-06 21:46:13 -06:00
parent 69dcd7e53f
commit 759960cc33
No known key found for this signature in database
GPG Key ID: F531810B7FE55396
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ class MetasploitModule < Msf::Auxiliary
user = body.match(/^user (.*)/)[1]
hash = body.match(/^password (.*)/)[1]
report_cred(user, hash)
else body.match(/refresh content='0; url=\/default.htm/)
fail_with(Failure::NotVulnerable, "Response suggests device is patched")
return
end
end
end