diff --git a/modules/exploits/multi/http/jboss_invoke_deploy.rb b/modules/exploits/multi/http/jboss_invoke_deploy.rb index 5ec5191846..729a2e2d3c 100644 --- a/modules/exploits/multi/http/jboss_invoke_deploy.rb +++ b/modules/exploits/multi/http/jboss_invoke_deploy.rb @@ -92,7 +92,6 @@ class Metasploit4 < Msf::Exploit::Remote if res.nil? print_error("Connection timed out") return Exploit::CheckCode::Unknown - elsif res.code != 200 print_error("Unable to request version, returned http code is: #{res.code.to_s}") return Exploit::CheckCode::Unknown