Land #7512, fix check method in seagate expolit
commit
ea5e61536c
|
@ -87,7 +87,7 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
headers = res.to_s
|
headers = res.to_s
|
||||||
|
|
||||||
# validate headers
|
# validate headers
|
||||||
if headers.incude?('X-Powered-By: PHP/5.2.13') && headers.include?('Server: lighttpd/1.4.28')
|
if headers.include?('X-Powered-By: PHP/5.2.13') && headers.include?('Server: lighttpd/1.4.28')
|
||||||
# and make sure that the body contains the title we'd expect
|
# and make sure that the body contains the title we'd expect
|
||||||
if res.body.include?('Login to BlackArmor')
|
if res.body.include?('Login to BlackArmor')
|
||||||
return Exploit::CheckCode::Appears
|
return Exploit::CheckCode::Appears
|
||||||
|
|
Loading…
Reference in New Issue