You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Give auth_brute ability to try credentials stored in db
Added two options:
DB_USER_PASS: this will try each user/pass couple stored in the db
DB_ADD_ALL: this will add each user and password to the lists.
By setting this to true, auth_brute will try every user with
every known password.
Copy file name to clipboardExpand all lines: lib/msf/core/auxiliary/auth_brute.rb
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,8 @@ def initialize(info = {})
22
22
OptBool.new('VERBOSE',[true,"Whether to print output for all attempts",true]),
23
23
OptBool.new('BLANK_PASSWORDS',[false,"Try blank passwords for all users",true]),
24
24
OptBool.new('USER_AS_PASS',[false,"Try the username as the password for all users",true]),
25
+
OptBool.new('DB_USERPASS',[false,"Try each user/password couple stored in the current database",true]),
26
+
OptBool.new('DB_ADD_ALL',[false,"Add all user and passwords in the current database to the lists (This will try every user with every password)",false]),
25
27
OptBool.new('STOP_ON_SUCCESS',[true,"Stop guessing when a credential works for a host",false]),
0 commit comments