Skip to content

Commit 4e5dabf

Browse files
author
Rich Whitcroft
committed
fix cred_scanner's has_privates? method
1 parent 082ebe2 commit 4e5dabf

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)