Update hydra-redis.c

This commit is contained in:
raynull 2019-05-28 12:52:27 +03:00 committed by GitHub
parent b9c5e7e125
commit bd70ea79c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,7 @@ int32_t service_redis_init(char *ip, int32_t sp, unsigned char options, char *mi
printf("[DEBUG] buf = %s\n", buf); printf("[DEBUG] buf = %s\n", buf);
// authentication test // authentication test
if (strstr(buf, "+PONG") != NULL) { // the server does not require password if (strstr(buf, "+PONG") != NULL) { // the server does not require password
hydra_report(stderr, "[!] The server does not require password.\n"); hydra_report(stderr, "[!] The server %s does not require password.\n", hostname);
free(buf); free(buf);
return 1; return 1;
} }