diff --git a/modules/auxiliary/scanner/sap/sap_soap_rfc_eps_delete_file_smb_relay.rb b/modules/auxiliary/scanner/sap/sap_soap_rfc_eps_delete_file_smb_relay.rb index 0ba677a98b..dafb29a2d4 100755 --- a/modules/auxiliary/scanner/sap/sap_soap_rfc_eps_delete_file_smb_relay.rb +++ b/modules/auxiliary/scanner/sap/sap_soap_rfc_eps_delete_file_smb_relay.rb @@ -81,9 +81,9 @@ class Metasploit4 < Msf::Auxiliary 'Content-Type' => 'text/xml; charset=UTF-8',} }, 45) if res - vprint_status("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s) - vprint_status("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s) - vprint_status("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s) + vprint_error("[SAP] #{rhost}:#{rport} - Error code: " + res.code.to_s) + vprint_error("[SAP] #{rhost}:#{rport} - Error title: " + res.message.to_s) + vprint_error("[SAP] #{rhost}:#{rport} - Error message: " + res.body.to_s) end rescue ::Rex::ConnectionError print_error("#{rhost}:#{rport} - Unable to connect")