Fix msftidy results
parent
55be2eff06
commit
d3f31fb56a
|
@ -58,7 +58,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
unless res
|
unless res
|
||||||
fail_with(Failure::Unknown, "#{peer} - No response from the target")
|
fail_with(Failure::Unknown, "#{peer} - No response from the target")
|
||||||
end
|
end
|
||||||
|
|
||||||
if res.code != 200
|
if res.code != 200
|
||||||
fail_with(Failure::UnexpectedReply, "#{peer} - Server responded with status code #{res.code}")
|
fail_with(Failure::UnexpectedReply, "#{peer} - Server responded with status code #{res.code}")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue