Skip to content

Commit 0f147dc

Browse files
committed
vprint_status changed to vprint_error as requested
1 parent d8086a2 commit 0f147dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/sap/sap_soap_xmla_bw_smb_relay.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ def run_host(ip)
7171
'Content-Type' => 'text/xml; charset=UTF-8',}
7272
}, 45)
7373
if res
74-
vprint_status("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s)
75-
vprint_status("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s)
76-
vprint_status("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s)
74+
vprint_error("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s)
75+
vprint_error("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s)
76+
vprint_error("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s)
7777
end
7878
rescue ::Rex::ConnectionError
7979
print_error("#{rhost}:#{rport} - Unable to connect")

0 commit comments

Comments
 (0)