mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
commit
d6a42ace44
1 changed files with 1 additions and 1 deletions
|
@ -1494,7 +1494,7 @@ int32_t service_smb_init(char *ip, int32_t sp, unsigned char options, char *misc
|
||||||
ctime = time(NULL);
|
ctime = time(NULL);
|
||||||
do {
|
do {
|
||||||
usleepn(300);
|
usleepn(300);
|
||||||
} while ((ready = hydra_data_ready(sock)) <= 0 && ctime + 5 <= time(NULL));
|
} while ((ready = hydra_data_ready(sock)) <= 0 && ctime + 5 >= time(NULL));
|
||||||
|
|
||||||
if (ready <= 0) {
|
if (ready <= 0) {
|
||||||
fprintf(stderr, "[ERROR] no reply from target smb://%s:%d/\n", hostname, port);
|
fprintf(stderr, "[ERROR] no reply from target smb://%s:%d/\n", hostname, port);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue