File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
lib/metasploit/framework/login_scanner
modules/auxiliary/scanner/http Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def attempt_login(credential)
45
45
if res && res . code == 302 && res . headers [ 'location' ] && res . headers [ 'location' ] . include? ( 'UI' )
46
46
result_opts . merge! ( status : Metasploit ::Model ::Login ::Status ::SUCCESSFUL , proof : res . headers )
47
47
elsif res . nil?
48
- result_opts . merge! ( status : Metasploit ::Model ::Login ::Status ::INCORRECT )
48
+ result_opts . merge! ( status : Metasploit ::Model ::Login ::Status ::INCORRECT , proof : 'No response' )
49
49
else
50
50
result_opts . merge! ( status : Metasploit ::Model ::Login ::Status ::INCORRECT , proof : res . headers )
51
51
end
Original file line number Diff line number Diff line change @@ -37,10 +37,7 @@ def run_host(ip)
37
37
blank_passwords : datastore [ 'BLANK_PASSWORDS' ] ,
38
38
pass_file : datastore [ 'PASS_FILE' ] ,
39
39
password : datastore [ 'PASSWORD' ] ,
40
- user_file : datastore [ 'USER_FILE' ] ,
41
- userpass_file : datastore [ 'USERPASS_FILE' ] ,
42
- username : 'admin' ,
43
- user_as_pass : datastore [ 'USER_AS_PASS' ]
40
+ username : 'admin'
44
41
)
45
42
46
43
scanner = Metasploit ::Framework ::LoginScanner ::MyBookLive . new (
You can’t perform that action at this time.
0 commit comments