Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/sap/sap_soap_rfc_read_table.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def exec(ip, fields)
0.upto(output.length - 1) do |i|
saptbl << [output[i]]
end
print(saptbl)
print(saptbl.to_s)
this_service = report_service(
host: ip,
port: rport,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def run_host(ip)
for i in 0..output.length - 1
saptbl << [output[i]]
end
print(saptbl)
print(saptbl.to_s)
else
print_error("[SAP] #{ip}:#{rport} - Unknown error")
return
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def run_host(ip)
for i in 0..output.length - 1
saptbl << [output[i]]
end
print(saptbl)
print(saptbl.to_s)
else
print_error("[SAP] #{ip}:#{rport} - Unknown error")
end
Expand Down
2 changes: 1 addition & 1 deletion modules/auxiliary/scanner/sap/sap_soap_rfc_system_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,6 @@ def run_host(ip)
end

# output table
print(@saptbl)
print(@saptbl.to_s)
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def run_host(ip)
saptbl << [ 'DB version', kern_dblib ]
saptbl << [ 'SAP patch level', kern_patchlevel ]
saptbl << [ 'SAP Version', kern_rel ]
print(saptbl)
print(saptbl.to_s)

report_note(
host: ip,
Expand Down