mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-14 10:37:27 -07:00
HYDRA_PROXY_CONNECT warning (unused)
This commit is contained in:
parent
ea38c891bb
commit
9c7c4a9e22
2 changed files with 4 additions and 0 deletions
3
hydra.c
3
hydra.c
|
@ -2552,6 +2552,9 @@ int main(int argc, char *argv[]) {
|
|||
hydra_options.miscptr = argv[optind + 2];
|
||||
}
|
||||
|
||||
if (getenv("HYDRA_PROXY_CONNECT"))
|
||||
fprintf(stderr, "[WARNING] The environment variable HYDRA_PROXY_CONNECT is not used! Use HYDRA_PROXY instead!\n");
|
||||
|
||||
if (strcmp(hydra_options.service, "http") == 0 || strcmp(hydra_options.service, "https") == 0) {
|
||||
fprintf(stderr, "[ERROR] There is no service \"%s\", most likely you mean one of the many web modules, e.g. http-get or http-form-post. Read it up!\n", hydra_options.service);
|
||||
exit(-1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue