mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-05 20:41:39 -07:00
-w support for ssh module
This commit is contained in:
parent
dcd04ac6d9
commit
b54a3b2495
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ int32_t service_ssh_init(char *ip, int32_t sp, unsigned char options, char *misc
|
|||
ssh_options_set(session, SSH_OPTIONS_USER, "hydra");
|
||||
else
|
||||
ssh_options_set(session, SSH_OPTIONS_USER, miscptr);
|
||||
ssh_options_set(session, SSH_OPTIONS_TIMEOUT, &hydra_options.waittime);
|
||||
ssh_options_set(session, SSH_OPTIONS_COMPRESSION_C_S, "none");
|
||||
ssh_options_set(session, SSH_OPTIONS_COMPRESSION_S_C, "none");
|
||||
if (ssh_connect(session) != 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue