mirror of
https://github.com/vanhauser-thc/thc-hydra.git
synced 2025-08-19 21:03:52 -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
1
CHANGES
1
CHANGES
|
@ -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?
|
||||||
|
|
||||||
|
|
||||||
|
|
3
hydra.c
3
hydra.c
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue