diff --git a/modules/exploits/linux/http/symantec_web_gateway_restore.rb b/modules/exploits/linux/http/symantec_web_gateway_restore.rb index 17995a4549..46fe21a41f 100644 --- a/modules/exploits/linux/http/symantec_web_gateway_restore.rb +++ b/modules/exploits/linux/http/symantec_web_gateway_restore.rb @@ -75,7 +75,7 @@ class Metasploit3 < Msf::Exploit::Remote uri = target_uri.path res = send_request_cgi({'uri' => normalize_uri(uri, 'spywall/login.php')}) - if res && res.body =~ /Symantec Web Gateway/ + if res && res.body.include?('Symantec Web Gateway') return Exploit::CheckCode::Detected end