Fix undefined method error

[FixRM #8322]
bug/bundler_fix
sinn3r 2013-08-21 00:37:22 -05:00
parent ea78e8309d
commit 35b15b6809
1 changed files with 5 additions and 0 deletions

View File

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