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