From 37ebc352813dfb8fd49e59cb32d0fd55448343c8 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Sat, 11 Apr 2015 00:04:19 +0200 Subject: [PATCH] fix --- hydra-http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hydra-http.c b/hydra-http.c index cb8c989..821ba88 100644 --- a/hydra-http.c +++ b/hydra-http.c @@ -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)) {