mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-07-06 04:51:40 -07:00
skip host when password is found on password-only checks
This commit is contained in:
parent
0b1f3c5037
commit
b375bbc332
2 changed files with 5 additions and 0 deletions
2
CHANGES
2
CHANGES
|
@ -3,6 +3,8 @@ Changelog for hydra
|
||||||
|
|
||||||
Release 9.3-dev
|
Release 9.3-dev
|
||||||
* fix for ssh to support -M or ip/range
|
* fix for ssh to support -M or ip/range
|
||||||
|
* for vnc/cisco/... protocols that only check for a password, skip host
|
||||||
|
after the password is found
|
||||||
|
|
||||||
|
|
||||||
Release 9.2
|
Release 9.2
|
||||||
|
|
3
hydra.c
3
hydra.c
|
@ -3310,6 +3310,9 @@ int main(int argc, char *argv[]) {
|
||||||
hydra_options.port = port;
|
hydra_options.port = port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (hydra_options.login == NULL && hydra_options.loginfile == NULL)
|
||||||
|
hydra_options.exit_found = 1;
|
||||||
|
|
||||||
if (hydra_options.ssl == 0 && hydra_options.port == 443)
|
if (hydra_options.ssl == 0 && hydra_options.port == 443)
|
||||||
fprintf(stderr, "[WARNING] you specified port 443 for attacking a http "
|
fprintf(stderr, "[WARNING] you specified port 443 for attacking a http "
|
||||||
"service, however did not specify the -S ssl switch nor "
|
"service, however did not specify the -S ssl switch nor "
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue