mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 13:53:59 -07:00
cleanup
This commit is contained in:
parent
185021d474
commit
1a72fe023e
18 changed files with 60 additions and 66 deletions
|
@ -61,8 +61,7 @@ int32_t start_rlogin(int32_t s, char *ip, int32_t port, unsigned char options, c
|
|||
memset(buffer, 0, sizeof(buffer));
|
||||
ret = hydra_recv(s, buffer, sizeof(buffer));
|
||||
if (strcmp(buffer, "\r\n"))
|
||||
ret = hydra_recv(s, buffer, sizeof(buffer) - 1);
|
||||
if (ret >= 0)
|
||||
if ((ret = hydra_recv(s, buffer, sizeof(buffer) - 1)) > 0)
|
||||
buffer[ret] = 0;
|
||||
}
|
||||
/* Authentication failure */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue