HYDRA_PROXY_CONNECT warning (unused)

This commit is contained in:
van Hauser 2016-01-09 01:20:10 +01:00
commit 9c7c4a9e22
2 changed files with 4 additions and 0 deletions

View file

@ -14,6 +14,7 @@ Release 8.2-pre
* Fixed a bug where the cisco-enable module was not working with the password-only logon mode * Fixed a bug where the cisco-enable module was not working with the password-only logon mode
* Fixed an out of memory bug in http-form * Fixed an out of memory bug in http-form
* Fixed imap PLAIN method * Fixed imap PLAIN method
* Added warning if HYDRA_PROXY_CONNECT environment is detected, that is an outdated setting
* ... your patch? * ... your patch?

View file

@ -2552,6 +2552,9 @@ int main(int argc, char *argv[]) {
hydra_options.miscptr = argv[optind + 2]; 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) { 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); 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); exit(-1);