dirb工具(Web目录爆破)

help

-a <agent_string> :           指定您的自定义 USER_AGENT。
 -b :                                   按原样使用路径。
 -c <cookie_string> :         为 HTTP 请求设置一个 cookie。
 -E <certificate> :              客户端证书的路径。
 -f :                                    微调 NOT_FOUND (404) 检测。
 -H <header_string> :       向 HTTP 请求添加自定义标头。
 -i :                                    使用不区分大小写的搜索。
 -l :                                    找到时打印“位置”标题。
 -N <nf_code>:                 忽略带有此 HTTP 代码的响应。
 -o <output_file> :             将输出保存到磁盘。
 -p <proxy[:port]> :           使用这个代理。 (默认端口为 1080)
 -P <proxy_username:proxy_password> :     代理身份验证。
 -r :                                   不要递归搜索。
 -R:                                   交互式递归。 (要求每个目录)
 -S:                                   静音模式。不要显示经过测试的单词。 (对于哑终端)
 -t :                                   不要在 URL 上强制使用结尾“/”。
 -u <用户名:密码>:        HTTP 身份验证。
 -v :                                  也显示 NOT_FOUND 页面。
 -w :                                 不要停止警告消息。
 -X <extensions> / -x <exts_file> :       用这个扩展名附加每个单词。
 -z <millisecs> :               添加毫秒延迟,以免造成过多的洪水。

常用方法

指定字典

dirb http://192.168.100.37 /usr/share/wordlists/dirb/big.txt

指定字典及后缀

dirb http://192.168.100.37 /usr/share/wordlists/dirb/big.txt -X .php

不做递归,默认做递归

dirb http://192.168.100.37 /usr/share/wordlists/dirb/big.txt -r

延迟扫描,防检测

dirb http://192.168.100.37 /usr/share/wordlists/dirb/big.txt -r -z 10

猜你喜欢

转载自blog.csdn.net/u012206617/article/details/125052713