removed warnings

This commit is contained in:
van Hauser 2014-11-28 22:13:09 +01:00
commit 4cc2dcebc2
7 changed files with 26 additions and 27 deletions

View file

@ -167,7 +167,7 @@ void service_cisco(char *ip, int sp, unsigned char options, char *miscptr, FILE
hydra_child_exit(0);
}
}
if (buf2 != NULL && hydra_strcasestr(buf2, "ress ENTER") != NULL)
if (buf2 != NULL && hydra_strcasestr((char*)buf2, "ress ENTER") != NULL)
hydra_send(sock, "\r\n", 2, 0);
} while (strstr((char *) buf2, "assw") == NULL);
free(buf2);