Provide feedback if the device appears to be patched
parent
69dcd7e53f
commit
759960cc33
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue