We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f43a2 commit 5de09d3Copy full SHA for 5de09d3
lib/metasploit/framework/login_scanner/base.rb
@@ -292,7 +292,11 @@ def validate_cred_details
292
errors.add(:cred_details, "must respond to :each")
293
end
294
295
- if cred_details.prepended_creds.empty? && cred_details.additional_publics.empty? && cred_details.additional_privates.empty?
+ if cred_details.prepended_creds.empty? &&
296
+ cred_details.additional_publics.empty? &&
297
+ cred_details.additional_privates.empty? &&
298
+ !cred_details.username.present? &&
299
+ !cred_details.password.present?
300
errors.add(:cred_details, "can't be blank")
301
302
0 commit comments