Changing result parsing style

Co-Authored-By: carmaa <carsten@carmaa.com>
This commit is contained in:
Brendan Coles
2018-11-11 08:07:37 +01:00
committed by GitHub
parent 951d3e1117
commit 3770f121fe
@@ -65,7 +65,7 @@ class MetasploitModule < Msf::Exploit::Remote
'method' => 'GET'
})
if res and res.code == 500 and res.body =~ /HPE Intelligent Management Center/
if res && res.code == 500 && res.body.include?('HPE Intelligent Management Center')
return Exploit::CheckCode::Appears
end