Skip to content

Commit ea5e615

Browse files
committed
Land rapid7#7512, fix check method in seagate expolit
2 parents 3d7a424 + 45d6012 commit ea5e615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/linux/http/seagate_nas_php_exec_noauth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def check
8787
headers = res.to_s
8888

8989
# validate headers
90-
if headers.incude?('X-Powered-By: PHP/5.2.13') && headers.include?('Server: lighttpd/1.4.28')
90+
if headers.include?('X-Powered-By: PHP/5.2.13') && headers.include?('Server: lighttpd/1.4.28')
9191
# and make sure that the body contains the title we'd expect
9292
if res.body.include?('Login to BlackArmor')
9393
return Exploit::CheckCode::Appears

0 commit comments

Comments
 (0)