change wording in fail_with()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user