Skip to content

Commit f1f6184

Browse files
Merge pull request #1 from gpapakyriakopoulos/gpapakyriakopoulos-prompt-fix
Fixed interactive password prompt issue
2 parents 5de1d34 + 639dee9 commit f1f6184

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

modules/exploits/windows/ssh/freesshd_authbypass.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,8 @@ def setup_ssh_options
107107
:port => datastore['RPORT'],
108108
:timeout => 1,
109109
:proxies => datastore['Proxies'],
110-
:key_data => OpenSSL::PKey::RSA.new(2048).to_pem
110+
:key_data => OpenSSL::PKey::RSA.new(2048).to_pem,
111+
:auth_methods => ['publickey']
111112
}
112113
return options
113114
end

0 commit comments

Comments
 (0)