mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-21 05:43: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
6
hydra.c
6
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");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue