hydra安装

简介

hydra是一个暴力破解工具(请勿用于非法用途),支持的协议有:

AFP, Cisco AAA, Cisco auth, Cisco enable, CVS, Firebird, FTP, HTTP-FORM-GET, HTTP-FORM-POST, HTTP-GET, HTTP-HEAD, HTTP-PROXY, HTTPS-FORM-GET, HTTPS-FORM-POST, HTTPS-GET, HTTPS-HEAD, HTTP-Proxy, ICQ, IMAP, IRC, LDAP, MS-SQL, MYSQL, NCP, NNTP, Oracle Listener, Oracle SID, Oracle, PC-Anywhere, PCNFS, POP3, POSTGRES, RDP, Rexec, Rlogin, Rsh, SAP/R3, SIP, SMB, SMTP, SMTP Enum, SNMP, SOCKS5, SSH (v1 and v2), Subversion, Teamspeak (TS2), Telnet, VMware-Auth, VNC and XMPP.

官网:http://www.thc.org/thc-hydra


安装libssh

如果不安装libssh,运行hydra时会出现错误: [ERROR] Compiled without LIBSSH v0.4.x support, module is not available!

wget http://www.libssh.org/files/0.4/libssh-0.4.8.tar.gz
tar zxf libssh-0.4.8.tar.gz
cd libssh-0.4.8
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Debug -DWITH_SSH1=ON ..
make
make install

/sbin/ldconfig

如果上一步骤出现错误:ldconfig: /etc/ld.so.conf.d/kernel-version.conf:6: hwcap index 0 already defined as nosegneg

grep "hwcap" /etc/ld.so.conf.d/*

将 hwcap 0 nosegneg 统一改为 hwcap 1 nosegneg

安装依赖包

yum install openssl-devel pcre-devel ncpfs-devel postgresql-devel libssh-devel subversion-devel libncurses-devel

安装hydra

wget http://www.thc.org/releases/hydra-7.4.2.tar.gz
tar zxvf hydra-7.4.2.tar.gz
cd hydra
./configure
make && make install

你可能感兴趣的:(安装,hydra,暴力破解,hwcap,libssh)