Use include

bug/bundler_fix
sinn3r 2015-03-02 14:41:25 -06:00
parent cb140434f9
commit ad28f9767f
1 changed files with 1 additions and 1 deletions

View File

@ -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