change wording in fail_with()

This commit is contained in:
space-r7
2022-07-07 18:05:56 -05:00
parent 3ad42dd153
commit 52ac281991
@@ -175,7 +175,7 @@ class MetasploitModule < Msf::Exploit::Remote
if res.nil?
fail_with(Failure::Unreachable, 'No response from host')
elsif res && res.code != 202
fail_with(Failure::UnexpectedReply, "Exploit failed. Host did not responded with HTTP code #{res.code} instead of HTTP code 202")
fail_with(Failure::UnexpectedReply, "Exploit failed. Host responded with HTTP code #{res.code} instead of HTTP code 202")
end
end
end