Skip to content

Commit 8082884

Browse files
author
Tod Beardsley
committed
Land rapid7#3137, un-default USER_AS_PASS and...
...BLANK_PASSWORDS. This is likely to affect nobody's normal work flow, since best practice is to be explicit about your options in your RC files.
2 parents f12171d + 8b2ee4e commit 8082884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/msf/core/auxiliary/auth_brute.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def initialize(info = {})
2020
OptPath.new('USERPASS_FILE', [ false, "File containing users and passwords separated by space, one pair per line" ]),
2121
OptInt.new('BRUTEFORCE_SPEED', [ true, "How fast to bruteforce, from 0 to 5", 5]),
2222
OptBool.new('VERBOSE', [ true, "Whether to print output for all attempts", true]),
23-
OptBool.new('BLANK_PASSWORDS', [ false, "Try blank passwords for all users", true]),
24-
OptBool.new('USER_AS_PASS', [ false, "Try the username as the password for all users", true]),
23+
OptBool.new('BLANK_PASSWORDS', [ false, "Try blank passwords for all users", false]),
24+
OptBool.new('USER_AS_PASS', [ false, "Try the username as the password for all users", false]),
2525
OptBool.new('DB_ALL_CREDS', [false,"Try each user/password couple stored in the current database",false]),
2626
OptBool.new('DB_ALL_USERS', [false,"Add all users in the current database to the list",false]),
2727
OptBool.new('DB_ALL_PASS', [false,"Add all passwords in the current database to the list",false]),

0 commit comments

Comments
 (0)