Skip to content

Commit

Permalink
Land #7356, remove SSH interactive prompt from freesshd_authbypass
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Cook committed Sep 23, 2016
2 parents 00c02bb + f1f6184 commit 9c6b67a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion modules/exploits/windows/ssh/freesshd_authbypass.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def setup_ssh_options
:port => datastore['RPORT'],
:timeout => 1,
:proxies => datastore['Proxies'],
:key_data => OpenSSL::PKey::RSA.new(2048).to_pem
:key_data => OpenSSL::PKey::RSA.new(2048).to_pem,
:auth_methods => ['publickey']
}
return options
end
Expand Down

0 comments on commit 9c6b67a

Please sign in to comment.