Skip to content

Commit 17b88da

Browse files
author
Brent Cook
committed
Land rapid7#7964, fix running a scanner with USER_AS_PASS and USER_FILE
2 parents e4c324c + 4e5dabf commit 17b88da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/metasploit/framework/credential_collection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ def has_users?
215215
end
216216

217217
def has_privates?
218-
password.present? || pass_file.present? || userpass_file.present? || !additional_privates.empty? || blank_passwords
218+
password.present? || pass_file.present? || userpass_file.present? || !additional_privates.empty? || blank_passwords || user_as_pass
219219
end
220220

221221
private

0 commit comments

Comments
 (0)