Use include
parent
cb140434f9
commit
ad28f9767f
|
@ -75,7 +75,7 @@ class Metasploit3 < Msf::Exploit::Remote
|
||||||
uri = target_uri.path
|
uri = target_uri.path
|
||||||
res = send_request_cgi({'uri' => normalize_uri(uri, 'spywall/login.php')})
|
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
|
return Exploit::CheckCode::Detected
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue