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.
2 parents 909d872 + 25772a5 commit 7303e78Copy full SHA for 7303e78
lib/metasploit/framework/login_scanner/ssh.rb
@@ -68,7 +68,7 @@ def attempt_login(credential)
68
:key_data => credential.private,
69
)
70
end
71
- opt_hash[:passphrase] = cred_details.password
+ opt_hash[:passphrase] = cred_details.password if cred_details.respond_to?(:password)
72
73
result_options = {
74
credential: credential
0 commit comments