mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
ssh disconnect miss bug fixed
This commit is contained in:
parent
eb3628dba6
commit
5cf23a55b5
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ int start_ssh(int s, char *ip, int port, unsigned char options, char *miscptr, F
|
|||
return 4;
|
||||
}
|
||||
|
||||
if (auth_state == SSH_AUTH_ERROR) {
|
||||
if (auth_state == SSH_AUTH_ERROR || !ssh_is_connected(session)) {
|
||||
new_session = 1;
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue