From 071d4d04e5f9818877dd7e96d2ef6427643f6188 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Fri, 28 Nov 2014 11:08:58 +0100 Subject: [PATCH] foo --- CHANGES | 4 ++-- hydra-mod.c | 3 ++- hydra.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CHANGES b/CHANGES index 4263cc9..1b10892 100644 --- a/CHANGES +++ b/CHANGES @@ -6,7 +6,7 @@ Release 8.1-pre * Added patch from Ander Juaristi which adds h/H header options for http-form-*, great work, thanks! * Fixed for cisco-enable if an intial Login/Password is used (thanks to joswr1te for reporting) * Added patch by tux-mind for better MySQL compilation and an Android patches and Makefile. Thanks! -* Added xhydra gtk patches by Petar Kaleychev to support -h, -U, -q and -e r options, thanks! +* Added xhydra gtk patches by Petar Kaleychev to support -h, -U, -f, -F, -q and -e r options, thanks! * Added patch for teamspeak to better identify server errors and auth failures (thanks to Petar Kaleychev) * Fixed a crash in the cisco module (thanks to Anatoly Mamaev for reporting) * Small fix for HTTP form module for redirect pages where a S= string match would not work (thanks to mkosmach for reporting) @@ -221,7 +221,7 @@ Release 6.4 Release 6.3 -* Added patch by Petar(dot)Kaley(at)gmail.com which adds nice icons to cygwin hydra files +* Added patch by Petar Kaleychev which adds nice icons to cygwin hydra files * Added patch by Gauillaume Rousse which fixes a warning display * New Oracle module (for databases via OCI, for TNS Listener passwd, for SID enumeration) * New SMTP user enum module (using VRFY, EXPN or RCPT command) diff --git a/hydra-mod.c b/hydra-mod.c index 526a25c..ec5a983 100644 --- a/hydra-mod.c +++ b/hydra-mod.c @@ -1142,7 +1142,8 @@ char *hydra_address2string(char *address) { } else #endif { - fprintf(stderr, "[ERROR] unknown address string size!\n"); + if (debug) + fprintf(stderr, "[ERROR] unknown address string size!\n"); return NULL; } return NULL; // not reached diff --git a/hydra.c b/hydra.c index 45beef8..8d13b8e 100644 --- a/hydra.c +++ b/hydra.c @@ -2346,7 +2346,6 @@ int main(int argc, char *argv[]) { bail("You need to define a service to attack"); if (optind + 2 == argc) fprintf(stderr, "[WARNING] With the -M FILE option you can not specify a server on the commandline. Lets hope you did everything right!\n"); -/*!!!*/ fprintf(stderr, "[WARNING] the -M option is not working correctly at the moment for larger target lists!\n"); hydra_options.server = NULL; hydra_options.service = argv[optind]; if (optind + 2 == argc) @@ -3124,6 +3123,7 @@ int main(int argc, char *argv[]) { fprintf(stderr, "[ERROR] File for targets is empty: %s", hydra_options.infile_ptr); exit(-1); } +/*!!!*/ if (countinfile > 60) fprintf(stderr, "[WARNING] the -M option is not working correctly at the moment for target lists > 60!\n"); hydra_targets = malloc(sizeof(hydra_targets) * (countservers + 2) + 8); if (hydra_targets == NULL) bail("Could not allocate enough memory for target data");