more scriptkiddie annoying

This commit is contained in:
van Hauser 2019-07-03 11:43:47 +02:00
commit 39bc8e64db

14
hydra.c
View file

@ -3184,9 +3184,17 @@ int main(int argc, char *argv[]) {
hydra_options.max_use = MAXTASKS; hydra_options.max_use = MAXTASKS;
} }
// script kiddie patch // script kiddie patch
if (hydra_options.server != NULL && (hydra_strcasestr(hydra_options.server, "gmail.") != NULL || hydra_strcasestr(hydra_options.server, "googlemail.") != NULL)) { if (hydra_options.server != NULL && (
fprintf(stderr, "[WARNING] Google Mail has bruteforce detection and sends false positives. You are not doing anything illegal right?!\n"); hydra_strcasestr(hydra_options.server, ".outlook.com") != NULL ||
fprintf(stderr, "[WARNING] read the above!\n"); hydra_strcasestr(hydra_options.server, ".hotmail.com") != NULL ||
hydra_strcasestr(hydra_options.server, ".yahoo.") != NULL ||
hydra_strcasestr(hydra_options.server, ".gmx.") != NULL ||
hydra_strcasestr(hydra_options.server, ".web.de") != NULL ||
hydra_strcasestr(hydra_options.server, ".gmail.") != NULL ||
hydra_strcasestr(hydra_options.server, "googlemail.") != NULL
)) {
fprintf(stderr, "[WARNING] Google Mail and others have bruteforce and hydra detection and sends false positives. You are not doing anything illegal right?!\n");
fprintf(stderr, "[WARNING] !read the above!\n");
sleep(5); sleep(5);
} }
if (hydra_options.colonfile == NULL) { if (hydra_options.colonfile == NULL) {