From 1a2d5e472f713c9cc1c818d96377e73e150f0330 Mon Sep 17 00:00:00 2001 From: Bruno Morisson Date: Mon, 22 Jul 2013 19:03:52 +0100 Subject: [PATCH] msftidy - fixed indents --- .../sap/sap_hostctrl_getcomputersystem.rb | 50 ++++++++++--------- 1 file changed, 26 insertions(+), 24 deletions(-) diff --git a/modules/auxiliary/scanner/sap/sap_hostctrl_getcomputersystem.rb b/modules/auxiliary/scanner/sap/sap_hostctrl_getcomputersystem.rb index cf5555d00a..9a4a1c03b0 100644 --- a/modules/auxiliary/scanner/sap/sap_hostctrl_getcomputersystem.rb +++ b/modules/auxiliary/scanner/sap/sap_hostctrl_getcomputersystem.rb @@ -71,11 +71,10 @@ through the SAP HostControl service 'uri' => "/", 'method' => 'POST', 'data' => data, - 'headers' => - { - 'Content-Length' => data.length, - 'Content-Type' => 'text/xml; charset=UTF-8', - } + 'headers' => { + 'Content-Length' => data.length, + 'Content-Type' => 'text/xml; charset=UTF-8', + } }, 15) if res and res.code == 200 @@ -127,15 +126,16 @@ through the SAP HostControl service 'Postfix' => "\n", 'Indent' => 1, 'Columns' => - ["Name", - "PID", - "Username", - "Priority", - "Size", - "Pages", - "CPU", - "CPU Time", - "Command" + [ + "Name", + "PID", + "Username", + "Priority", + "Size", + "Pages", + "CPU", + "CPU Time", + "Command" ]) saptbl[3] = Msf::Ui::Console::Table.new( @@ -145,10 +145,11 @@ through the SAP HostControl service 'Postfix' => "\n", 'Indent' => 1, 'Columns' => - ["Name", - "Size", - "Available", - "Remote" + [ + "Name", + "Size", + "Available", + "Remote" ]) saptbl[4] = Msf::Ui::Console::Table.new( @@ -158,12 +159,13 @@ through the SAP HostControl service 'Postfix' => "\n", 'Indent' => 1, 'Columns' => - ["ID", - "PacketsIn", - "PacketsOut", - "ErrorsIn", - "ErrorsOut", - "Collisions" + [ + "ID", + "PacketsIn", + "PacketsOut", + "ErrorsIn", + "ErrorsOut", + "Collisions" ]) mxml = REXML::Document.new(res.body)