Changing result parsing style
Co-Authored-By: carmaa <carsten@carmaa.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user