teamspeak fix

This commit is contained in:
van Hauser 2014-10-02 16:02:55 +02:00
commit 60e3fb52c4
4 changed files with 10 additions and 0 deletions

View file

@ -77,6 +77,13 @@ int start_teamspeak(int s, char *ip, int port, unsigned char options, char *misc
hydra_report_found_host(port, ip, "teamspeak", fp);
hydra_completed_pair_found();
}
if (buf[0x4B] != 0) {
hydra_report(stderr, "[ERROR] Child with pid %d terminating, can not connect\n", (int) getpid());
hydra_child_exit(1);
}
} else {
hydra_report(stderr, "[ERROR] Child with pid %d terminating, can not connect\n", (int) getpid());
hydra_child_exit(1);
}
hydra_completed_pair();