parent
ea78e8309d
commit
35b15b6809
|
@ -91,6 +91,11 @@ class Metasploit4 < Msf::Auxiliary
|
||||||
}
|
}
|
||||||
}, 15)
|
}, 15)
|
||||||
|
|
||||||
|
if res.nil?
|
||||||
|
print_error("#{rhost}:#{rport} [SAP] Unable to connect")
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
if res.code == 200
|
if res.code == 200
|
||||||
body = res.body
|
body = res.body
|
||||||
if body.match(/<property>CentralServices<\/property><propertytype>Attribute<\/propertytype><value>([^<]+)<\/value>/)
|
if body.match(/<property>CentralServices<\/property><propertytype>Attribute<\/propertytype><value>([^<]+)<\/value>/)
|
||||||
|
|
Loading…
Reference in New Issue