mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-20 05:13:51 -07:00
ensure unneeded sockets are closed
This commit is contained in:
parent
fbefc67652
commit
fdc211dce5
2 changed files with 2 additions and 1 deletions
|
@ -605,6 +605,7 @@ void hydra_child_exit(int code) {
|
|||
do {
|
||||
sleepn(10);
|
||||
} while (read(intern_socket, buf, 1) <= 0);
|
||||
close(intern_socket);
|
||||
// sleep(2); // be sure that mommy receives our message
|
||||
exit(0); // might be killed before reaching this
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue