diff --git a/hydra-pop3.c b/hydra-pop3.c index ac3c8a4..4481dfc 100644 --- a/hydra-pop3.c +++ b/hydra-pop3.c @@ -525,9 +525,6 @@ int service_pop3_init(char *ip, int sp, unsigned char options, char *miscptr, FI p.disable_tls = 1; memcpy(p.ip, ip, 36); - if (sock >= 0) - sock = hydra_disconnect(sock); -// usleepn(300); if ((options & OPTION_SSL) == 0) { if (port != 0) myport = port; diff --git a/hydra-redis.c b/hydra-redis.c index d388de2..61a08ea 100644 --- a/hydra-redis.c +++ b/hydra-redis.c @@ -135,8 +135,6 @@ int service_redis_init(char *ip, int sp, unsigned char options, char *miscptr, F char buffer[] = "*1\r\n$4\r\nping\r\n"; hydra_register_socket(sp); - if (sock >= 0) - sock = hydra_disconnect(sock); if ((options & OPTION_SSL) == 0) { if (port != 0) myport = port; diff --git a/hydra-rpcap.c b/hydra-rpcap.c index fc9ce00..8272870 100644 --- a/hydra-rpcap.c +++ b/hydra-rpcap.c @@ -130,8 +130,6 @@ int service_rpcap_init(char *ip, int sp, unsigned char options, char *miscptr, F char buffer[] = "\x00\x08\x00\x00\x00\x00\x00\x08\x00\x00\x00\x00\x00\x00\x00\x00"; hydra_register_socket(sp); - if (sock >= 0) - sock = hydra_disconnect(sock); if ((options & OPTION_SSL) == 0) { if (port != 0) myport = port;