Skip to content

Commit e2212ca

Browse files
committed
vprint_status changed to vprint_error as requested
1 parent da6a99d commit e2212ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/sap/sap_soap_rfc_pfl_check_os_file_existence_smb_relay.rb

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

0 commit comments

Comments
 (0)