From 52ac28199115085bbcb61ba5b8097e34bb3c37d2 Mon Sep 17 00:00:00 2001 From: space-r7 Date: Thu, 7 Jul 2022 18:05:56 -0500 Subject: [PATCH] change wording in fail_with() --- .../multi/misc/weblogic_deserialize_asyncresponseservice.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exploits/multi/misc/weblogic_deserialize_asyncresponseservice.rb b/modules/exploits/multi/misc/weblogic_deserialize_asyncresponseservice.rb index 110e0e6df4..ac5c9176aa 100644 --- a/modules/exploits/multi/misc/weblogic_deserialize_asyncresponseservice.rb +++ b/modules/exploits/multi/misc/weblogic_deserialize_asyncresponseservice.rb @@ -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