EvilZone
Hacking and Security => Beginner's Corner => : mubby5 March 07, 2015, 09:41:57 PM
-
I've recently started using Hydra and I have learned a bit but I have one problem. How do I run Hydra with a proxy? I don't understand how to write it in the syntax. Thanks
-
You need to create HYDRA_PROXY variable first.
You can do this like this:
HYDRA_PROXY=http://super.proxy:80 hydra <options>
where:
http://super.proxy (http://super.proxy) - proxy domain
80 - proxy port
hydra <options> - hydra command with additional options
There are many others way to create shell variable. You can google about them.
-
Thanks for the help. I'm afraid I'm still having trouble. I googled how to set shell variables but I don't understand how to do it. I found this command: set variable_name=value. Am I supposed to use that in the command line and then start Hydra? I'm using windows. Any help is appreciated.
-
Thanks for the help. I'm afraid I'm still having trouble. I googled how to set shell variables but I don't understand how to do it. I found this command: set variable_name=value. Am I supposed to use that in the command line and then start Hydra? I'm using windows. Any help is appreciated.
I don't know how to create cmd variable on Windows. I didn't use it about 8 years :( Maybe someone else will help you here.
But you can Install cygwin (http://cygwin.com/install.html). It will make something similar to usual Linux shell for you.
-
I have cygwin installed. How would I set the variable in cygwin?
-
I have cygwin installed. How would I set the variable in cygwin?
as I described above
HYDRA_PROXY=http://super.proxy:80 hydra <options>
-
so when I set the HYDRA_PROXY variable I then continue normally with Hydra? I just write the rest of the syntax?
-
so when I set the HYDRA_PROXY variable I then continue normally with Hydra? I just write the rest of the syntax?
Yep. Why wouldn't try first?
-
I did try. Thank you very much for your help. I set the variable in the cmd in windows. When I started Hydra is says "Using connect Proxy" so I guess I did right. ;D
But I do have another question. In the Hydra Readme it says HYDRA_PROXY_HTTP is the variable for the http/www service and for all other services use HYDRA_PROXY to scan/crack. I was just curious as to the differences.
-
Everything starts out ok but when the attack starts it says 0 tries per task. What I am doing wrong?