File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,13 @@ def report_note(opts={})
179
179
# @option opts [String] :pass The private part of the credential (e.g. password)
180
180
def report_auth_info ( opts = { } )
181
181
print_warning ( "*** #{ self . fullname } is still calling the deprecated report_auth_info method! This needs to be updated!" )
182
- return if not db
182
+ print_warning ( '*** For detailed information about LoginScanners and the Credentials objects see:' )
183
+ print_warning ( ' https://github.com/rapid7/metasploit-framework/wiki/Creating-Metasploit-Framework-LoginScanners' )
184
+ print_warning ( ' https://github.com/rapid7/metasploit-framework/wiki/How-to-write-a-HTTP-LoginScanner-Module' )
185
+ print_warning ( '*** For examples of modules converted to just report credentials without report_auth_info, see:' )
186
+ print_warning ( ' https://github.com/rapid7/metasploit-framework/pull/5376' )
187
+ print_warning ( ' https://github.com/rapid7/metasploit-framework/pull/5377' )
188
+ return unless db
183
189
raise ArgumentError . new ( "Missing required option :host" ) if opts [ :host ] . nil?
184
190
raise ArgumentError . new ( "Missing required option :port" ) if ( opts [ :port ] . nil? and opts [ :service ] . nil? )
185
191
You can’t perform that action at this time.
0 commit comments