mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 21:03:52 -07:00
fix for cisco-enable
This commit is contained in:
parent
6f0c841485
commit
043c8d2aaa
2 changed files with 5 additions and 2 deletions
1
CHANGES
1
CHANGES
|
@ -2,6 +2,7 @@ Changelog for hydra
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
Release 8.1-pre
|
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 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!
|
* 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)
|
* Fixed a crash in the cisco module (thanks to Anatoly Mamaev for reporting)
|
||||||
|
|
6
hydra.c
6
hydra.c
|
@ -2758,8 +2758,10 @@ int main(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
if (strcmp(hydra_options.service, "cisco-enable") == 0) {
|
if (strcmp(hydra_options.service, "cisco-enable") == 0) {
|
||||||
i = 2;
|
i = 2;
|
||||||
if (hydra_options.login == NULL)
|
if (hydra_options.login == NULL) {
|
||||||
hydra_options.login = empty_login;
|
//hydra_options.login = empty_login;
|
||||||
|
i = 1; // login will be the initial Username: login, or line Password:
|
||||||
|
}
|
||||||
if (hydra_options.miscptr == NULL) {
|
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");
|
fprintf(stderr, "[WARNING] You did not supply the initial support to the Cisco via -l, assuming direct console access\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue