Skip to content

Commit eee702a

Browse files
committed
vprint_status changed to vprint_error as requested
1 parent 121c75f commit eee702a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/sap/sap_soap_rfc_rzl_read_dir_local_dir_listing_and_smb_relay.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,9 @@ def run_host(ip)
8383
'Content-Type' => 'text/xml; charset=UTF-8',}
8484
}, 45)
8585
if res
86-
vprint_status("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s)
87-
vprint_status("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s)
88-
vprint_status("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s)
86+
vprint_error("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s)
87+
vprint_error("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s)
88+
vprint_error("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s)
8989
end
9090
rescue ::Rex::ConnectionError
9191
print_error("#{rhost}:#{rport} - Unable to connect")

0 commit comments

Comments
 (0)