ssh-scanner:使用nmap和hydra扫描器组合进行SSH密码破解
- 发表于
 - 安全工具
 
ssh-scanner介绍
将nmap扫描器和hydra扫描器组合使用,先用nmap探测主机是否开放22端口;如开放,然后用hydra暴力破解ssh服务的密码。这里给出了top 100,1000,10000的常用密码本。

使用条件
- Ubuntu 18.04 64bit
 - sudo apt install nmap hydra
 
ssh-scanner安装与使用
下载
|   1  |  https://github.com/scu-igroup/ssh-scanner.git  |  
使用
|   1 2 3 4  |  # 对文件中的IP进行破解 $ ./hydra.sh -p ./password.txt -f ./iplist.txt # 对网段中的IP进行破解 $ ./hydra.sh -p ./password.txt -l 192.168.9.0/24  |  
扩展密码字典
https://github.com/danielmiessler/SecLists/tree/master/Passwords
注意:在测试过程中,会出现开了端口却连接不了的错误,程序会打印出来,这是正常现象,可以忽略。
   原文连接:ssh-scanner:使用nmap和hydra扫描器组合进行SSH密码破解  所有媒体,可在保留署名、
  原文连接
的情况下转载,若非则不得使用我方内容。