Saturday, April 23, 2011

Install THC-Hydra 6.2 on Ubuntu 10.10 (console only)


This is only for the none GUI Hydra, I don't have a GUI in my box did not care for it.
It should also work on older Ubuntu.


sudo apt-get update
sudo apt-get install libssh-dev libidn11-dev libpcre3-dev libsvn-dev libfbclient2
wget http://freeworld.thc.org/releases/hydra-6.2-src.tar.gz
tar -zxvf hydra-6.2-src.tar.gz
cd hydra-6.2-src
./configure
make 
make install

During the make install it will complain about GTK, this is a non GUI install so ignore the errors.

Your done! to run type:
hydra




2 comments:

ramdas ram said...

sir i did upto second step that is make
but after sudo make install its showing the error as below
Now type make install
strip hydra pw-inspector
echo OK > /dev/null && test -x xhydra && strip xhydra || echo OK > /dev/null
mkdir -p /usr/local/bin
cp -f hydra-wizard.sh hydra pw-inspector /usr/local/bin && cd /usr/local/bin && chmod 755 hydra-wizard.sh hydra pw-inspector
echo OK > /dev/null && test -x xhydra && cp xhydra /usr/local/bin && cd /usr/local/bin && chmod 755 xhydra || echo OK > /dev/null
sed -e "s|^INSTALLDIR=.*|INSTALLDIR="/usr/local"|" dpl4hydra.sh > /usr/local/bin/dpl4hydra.sh
chmod 755 /usr/local/bin/dpl4hydra.sh
mkdir -p /usr/local/etc/
cp -f *.csv /usr/local/etc/
mkdir -p /usr/local/man/man1

ramdas ram said...

sir iam getting error after sudo make install like this
Now type make install
strip hydra pw-inspector
echo OK > /dev/null && test -x xhydra && strip xhydra || echo OK > /dev/null
mkdir -p /usr/local/bin
cp -f hydra-wizard.sh hydra pw-inspector /usr/local/bin && cd /usr/local/bin && chmod 755 hydra-wizard.sh hydra pw-inspector
echo OK > /dev/null && test -x xhydra && cp xhydra /usr/local/bin && cd /usr/local/bin && chmod 755 xhydra || echo OK > /dev/null
sed -e "s|^INSTALLDIR=.*|INSTALLDIR="/usr/local"|" dpl4hydra.sh > /usr/local/bin/dpl4hydra.sh
chmod 755 /usr/local/bin/dpl4hydra.sh
mkdir -p /usr/local/etc/
cp -f *.csv /usr/local/etc/
mkdir -p /usr/local/man/man1