Friday, September 16, 2011

Installing THC-Hydra 7.0

THC just released a new version of Hydra (URL http://thc.org/thc-hydra/), a very fast network logon cracker which support many different services (so the website says). I decided to install this on my home laptop. On Ubuntu, you will need to compile the source code provided at URL http://www.thc.org/releases/hydra-7.0-src.tar.gz

I proceeded to untar the source code and when I did the ./configure command, a list of libraries that Hydra requires was missing from my laptop. I only managed to install some of the libraries with the command:

sudo apt-fast install libpq-dev libsvn-dev libssh-dev

However, when I ran the ./configure command again, not all libraries were installed (I couldn't' figure out which ones they wanted). The output I got after the second ./configure was:

Starting hydra auto configuration ...

Detected 32 Bit Linux OS

Checking for openssl (libssl, libcrypto, ssl.h, sha.h) ...
... found
Checking for idn (libidn.so) ...
... NOT found, unicode logins and passwords will not be supported
Checking for pcre (libpcre.so, pcre.h) ...
... found
Checking for Postgres (libpq.so, libpq-fe.h) ...
... found
Checking for SVN (libsvn_client-1 libapr-1.so libaprutil-1.so) ...
... found
Checking for firebird (libfbclient.so) ...
... NOT found, module firebird disabled
Checking for MYSQL client (libmysqlclient.so, math.h) ...
... found
Checking for AFP (libafpclient.so) ...
... NOT found, module Apple Filing Protocol disabled - Apple sucks anyway
Checking for NCP (libncp.so / nwcalls.h) ...
... found
Checking for SAP/R3 (librfc/saprfc.h) ...
... NOT found, module sapr3 disabled
Get it from http://www.sap.com/solutions/netweaver/linux/eval/index.asp
Checking for libssh (libssh/libssh.h) ...
... found
Checking for Oracle (libocci.so libclntsh.so / oci.h) ...
... NOT found, module Oracle disabled
Checking for GUI req's (pkg-config, gtk+-2.0) ...
... found

Hydra will be installed into .../bin of: /usr/local
(change this by running ./configure --prefix=path)

Writing Makefile.in ...
now type "make"

I then proceeded to issue the make && sudo make install command to compile and install the program.

The program seems to work and I hope somebody out there reading this can help me with the missing "NOT found, module..." errors.