This commit is contained in:
van Hauser 2015-04-11 00:04:19 +02:00
parent 577e365cd9
commit 37ebc35281

View file

@ -201,7 +201,7 @@ int start_http(int s, char *ip, int port, unsigned char options, char *miscptr,
}
} else {
if (ptr != NULL && *ptr != '4')
fprintf(stderr, "[WARNING] Unusual return code: %.3s for %s:%s\n", (char) *ptr, ' ') + 1), login, pass);
fprintf(stderr, "[WARNING] Unusual return code: %.3s for %s:%s\n", (char) *ptr, login, pass);
//the first authentication type failed, check the type from server header
if ((hydra_strcasestr(http_buf, "WWW-Authenticate: Basic") == NULL) && (http_auth_mechanism == AUTH_BASIC)) {