diff --git a/CHANGES b/CHANGES index e9cfe5e..4a5d8d6 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,7 @@ Changelog for hydra ------------------- Release 8.1-pre +* 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 patch by Petar Kaleychev to support -e r reverse login attempt, thanks! * Fixed a crash in the cisco module (thanks to Anatoly Mamaev for reporting) diff --git a/hydra.c b/hydra.c index 8a9a855..a6b120f 100644 --- a/hydra.c +++ b/hydra.c @@ -2758,8 +2758,10 @@ int main(int argc, char *argv[]) { } if (strcmp(hydra_options.service, "cisco-enable") == 0) { i = 2; - if (hydra_options.login == NULL) - hydra_options.login = empty_login; + if (hydra_options.login == NULL) { + //hydra_options.login = empty_login; + i = 1; // login will be the initial Username: login, or line Password: + } if (hydra_options.miscptr == NULL) { fprintf(stderr, "[WARNING] You did not supply the initial support to the Cisco via -l, assuming direct console access\n"); }