File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
modules/auxiliary/scanner/http Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,15 @@ def initialize(info = {})
3434 ] , self . class
3535 )
3636
37- options_to_deregister = [ 'DOMAIN' ]
38- deregister_options ( *options_to_deregister )
37+ deregister_options ( 'DOMAIN' )
3938 end
4039
4140 def process_credential ( credential_data )
4241 credential_combo = "#{ credential_data [ :username ] } :#{ credential_data [ :private_data ] } "
4342 case credential_data [ :status ]
4443 when Metasploit ::Model ::Login ::Status ::SUCCESSFUL
4544 print_good "#{ credential_data [ :address ] } :#{ credential_data [ :port ] } - Login Successful: #{ credential_combo } "
46- credential_core = create_credential ( credential_data )
47- credential_data [ :core ] = credential_core
45+ credential_data [ :core ] = create_credential ( credential_data )
4846 create_credential_login ( credential_data )
4947 return { status : :success , credential : credential_data }
5048 else
You can’t perform that action at this time.
0 commit comments