代码改变世界

Kali Hydra SSL issue, xHydra (GUI version of Hydra) works just fine

2019-03-09 20:56  狼人:-)  阅读(644)  评论(0编辑  收藏  举报

First find the source code.

(https://is.gd/LlS5Sy) - Example search

Once located you must download it (in the case clone with git)

git clone https://github.com/vanhauser-thc/thc-hydra

then go into the directory

cd thc-hydra

then ensure you have the needed dependencies (in the README.md)

apt-get install libssl-dev libssh-dev libidn11-dev libpcre3-dev \
             libgtk2.0-dev libmysqlclient-dev libpq-dev libsvn-dev \
             firebird2.1-dev libncp-dev

Then you want to compile and install so:

apt-get purge hydra hydra-gtk #Get rid of old install
./configure --help #Get config options

Sample output

Options:
  --prefix=path              path to install hydra and its datafiles to
  --fhs                      install according to the File System Hierarchy Standard
  --with-oracle=prefix       prefix for oracle include dir
  --with-oracle-lib=prefix   prefix for oracle lib dir
  --with-ssl=prefix          prefix for SSL headers
  --with-ssl-lib=prefix      prefix for SSL libraries
  --disable-xhydra           disable compilation of hydra GUI
  --nostrip                  do not per default strip binaries before install
  --debug                    show debug output to trace errors
  --help                     this her

So therefore do ./configure #It should autodetect SSL, and you can check in the output else ./configure --with-ssl=SSL LOCATION --with-ssl-lib=SSL LIB LOCATION then make make install

This is the general way of compiling a program from source, and you should learn how these steps work for future use.