Skip to content

Commit 5b30115

Browse files
committed
vprint_status changed to vprint_error as requested
1 parent 95e7d55 commit 5b30115

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/sap/sap_ctc_verb_tampering_add_user_and_add_role.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ def send_request(uri)
6767
'Content-Type' => 'text/xml; charset=UTF-8',}
6868
}, 45)
6969
if res
70-
vprint_status("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s)
71-
vprint_status("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s)
72-
vprint_status("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s)
70+
vprint_error("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s)
71+
vprint_error("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s)
72+
vprint_error("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s)
7373
end
7474
rescue ::Rex::ConnectionError
7575
print_error("#{rhost}:#{rport} - Unable to connect")

0 commit comments

Comments
 (0)