hopefully actually fixed indents.

Included @jvazquez-r7 suggested changes
bug/bundler_fix
Bruno Morisson 2013-07-24 16:43:20 +01:00
parent 1a2d5e472f
commit 4f0cf426b7
1 changed files with 11 additions and 11 deletions

View File

@ -19,7 +19,7 @@ class Metasploit4 < Msf::Auxiliary
'Name' => 'SAP Host Agent Information Disclosure',
'Description' => %q{
This module attempts to retrieve Computer and OS info from Host Agent
through the SAP HostControl service
through the SAP HostControl service
},
'References' =>
[
@ -43,7 +43,6 @@ through the SAP HostControl service
register_autofilter_ports([1128])
deregister_options('RHOST')
deregister_options('VHOST')
deregister_options('URI')
end
@ -67,15 +66,16 @@ through the SAP HostControl service
begin
res = send_request_raw({
'uri' => "/",
'method' => 'POST',
'data' => data,
'headers' => {
'Content-Length' => data.length,
'Content-Type' => 'text/xml; charset=UTF-8',
}
}, 15)
res = send_request_raw(
{
'uri' => "/",
'method' => 'POST',
'data' => data,
'headers' => {
'Content-Length' => data.length,
'Content-Type' => 'text/xml; charset=UTF-8',
}
}, 15)
if res and res.code == 200