Sign in to follow this  
Followers 0
frosting

Problem installing THC Hydra 7.6

4 posts in this topic

So as as the title suggests, I am having trouble installing Hydra.

Currently, I've downloaded it, unzipped it, and configured it.

The problem is when I do the "make" command an error occurs

 

$ make
gcc -I. -O3   -c hydra-vnc.c -DHAVE_MATH_H
In file included from hydra-mod.h:4:0,
                 from hydra-vnc.c:8:
hydra.h:14:24: fatal error: sys/socket.h: No such file or directory
 #include <sys/socket.h>
                        ^
compilation terminated.
make: *** [hydra-vnc.o] Error 1
 
 
If anyone could shed some light as to how to fix this error, I'd be forever grateful.
I'm running Windows 7 (64-bit) and using the latest Cygwin Terminal (32-bit version)
 

Share this post


Link to post
Share on other sites

Did you run `./configure` first?

 

If you're wanting to play with tools like this, it may be in your best interest to check out a pentesting distro like Kali (used to be Backtrack) -- you'll get a real UNIX-like env with a lot of the common prepackaged tools ready to go, and you won't leave potential security vulns running as root on your machine.

Share this post


Link to post
Share on other sites

Yes I have run ./configure first.

 

Also, thank you for the suggestion I will definitely look into Kali.

Share this post


Link to post
Share on other sites

Keep trying this, too. You will learn something about unix and maybe even programming doing stuff from source.

 

You need to add C header files, or find your path to them. it's looking for them in the default location of *sys/haeders#

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0