Skip to content

Commit ad28f97

Browse files
committed
Use include
1 parent cb14043 commit ad28f97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/symantec_web_gateway_restore.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def check
7575
uri = target_uri.path
7676
res = send_request_cgi({'uri' => normalize_uri(uri, 'spywall/login.php')})
7777

78-
if res && res.body =~ /Symantec Web Gateway/
78+
if res && res.body.include?('Symantec Web Gateway')
7979
return Exploit::CheckCode::Detected
8080
end
8181

0 commit comments

Comments
 (0)