File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed
modules/auxiliary/scanner/sap Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -64,13 +64,13 @@ def extract_field(data, elem)
64
64
def report_note_sap ( type , data , value )
65
65
# create note
66
66
report_note (
67
- :host => rhost ,
68
- :port => rport ,
69
- :proto => 'tcp' ,
70
- :sname => 'sap' ,
71
- :type => type ,
72
- :data => data + value
73
- ) if data
67
+ :host => rhost ,
68
+ :port => rport ,
69
+ :proto => 'tcp' ,
70
+ :sname => 'sap' ,
71
+ :type => type ,
72
+ :data => data + value
73
+ ) if data
74
74
# update saptbl for output
75
75
@saptbl << [ data , value ]
76
76
end
@@ -122,14 +122,12 @@ def run_host(ip)
122
122
# create table for output
123
123
@saptbl = Msf ::Ui ::Console ::Table . new (
124
124
Msf ::Ui ::Console ::Table ::Style ::Default ,
125
- 'Header' => "[SAP] SOAP RFC_SYSTEM_INFO" ,
126
- 'Prefix' => "\n " ,
127
- 'Postfix' => "\n " ,
128
- 'Indent' => 1 ,
129
- 'Columns' => [
130
- "Key" ,
131
- "Value"
132
- ] )
125
+ 'Header' => "[SAP] SOAP RFC_SYSTEM_INFO" ,
126
+ 'Prefix' => "\n " ,
127
+ 'Postfix' => "\n " ,
128
+ 'Indent' => 1 ,
129
+ 'Columns' => [ "Key" , "Value" ]
130
+ )
133
131
134
132
response = res . body
135
133
You can’t perform that action at this time.
0 commit comments