首页 > 其他 > 详细

hydra

时间:2015-09-22 23:33:18      阅读:472      评论:0      收藏:0      [点我收藏+]

转:http://www.cnblogs.com/patf/p/3142564.html

1.yum -y install openssl-devel pcre-devel ncpfs-devel postgresql-devel libssh-devel subversion-devel libncurses-devel gcc cmake

2.wget http://www.thc.org/releases/hydra-7.4.1.tar.gz

tar zxvf hydra-7.4.1.tar.gz
cd hydra-7.4.2
./configure
make
make install

ERROR:[ERROR] Compiled without LIBSSH v0.4.x support, module is not available!

rpm -qa |grep libssh*

3.wget http://www.libssh.org/files/0.4/libssh-0.4.8.tar.gz

tar zxvf libssh-0.4.8.tar.gz

cd libssh-0.4.8
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DWITH_SSH1=ON ..

make

make install

 

4.cd ../../hydra-7.4.2/
make clean

./configure
make
make install

 

/sbin/ldconfig 
# /sbin/ldconfig  //要执行这句,不然会出现hydra: error while loading shared libraries: libssh.so.4: cannot open shared object file: No such file or directory




hydra

原文:http://www.cnblogs.com/baxk/p/4830647.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!