Skip to content

Commit 4c1558b

Browse files
committed
Land rapid7#5331, @wchen-r7's fixes rapid7#5330 by using print_warning
2 parents d05cae5 + b7b0066 commit 4c1558b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/auxiliary/report.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ def report_note(opts={})
169169
# @option opts [String] :user The username for the cred
170170
# @option opts [String] :pass The private part of the credential (e.g. password)
171171
def report_auth_info(opts={})
172-
print_error "*** #{self.fullname} is still calling the deprecated report_auth_info method! This needs to be updated!"
172+
print_warning("*** #{self.fullname} is still calling the deprecated report_auth_info method! This needs to be updated!")
173173
return if not db
174174
raise ArgumentError.new("Missing required option :host") if opts[:host].nil?
175175
raise ArgumentError.new("Missing required option :port") if (opts[:port].nil? and opts[:service].nil?)

0 commit comments

Comments
 (0)