Getting THC-Hydra running in BT4-pre-final
Full directions, thanks ch0ks, Adroitlearner for the basis.
Purpose: Describe how to get THC-Hydra running under BT4-Pre-Final. This should work for any Ubuntu-like distro.
Stage 1: Install LibSSH
Download, build, install, and copy libssh.so to where THC-Hydra will look for it.
Stage 2: Install THC-Hydra
tar -xzvf libssh-0.11.tgz
mv /usr/local/lib/libssh.so /usr/lib/
Next, edit the Makefile (to overcome a bug in BT4 pre-release) to look like:
tar -xzvf hydra-5.4-src.tar.gz
Complete the install with:
XDEFINES= -DLIBOPENSSL -DLIBSSH
XLIBS= -lssl -lssh -lcrypto
NOTE: If you had tried to build Hydra before libssh was built, you will need to:
-- Edit Makefile again, as above --
Stage 3: Clean up
Stage 4: Finally...
rm -rf temp
By default, Hydra will be installed in /usr/local/bin/hydra
Note, BT4 has hydra installed in /usr/bin/hydra
A non-elegant solution:
mv /usr/local/bin/hydra /usr/bin/hydra