当前位置:网站首页>dirsearch[目录扫描工具]
dirsearch[目录扫描工具]
2022-07-27 05:04:00 【weixin_53150482】
git clone https://github.com/maurosoria/dirsearch.git
命令
选项:
-h, --help 显示此帮助消息并退出
Mandatory:
-u URL, --url=URL URL目标
-L URLLIST, --url-list=URLLIST
URL列表目标
-e EXTENSIONS, --extensions=EXTENSIONS
以逗号分隔的扩展列表(示例:php、asp)
-E, --extensions-list
使用公共扩展的预定义列表
Dictionary Settings:
-w WORDLIST, --wordlist=WORDLIST
自定义单词表(用逗号分隔)
-l, --lowercase
-f, --force-extensions
强制扩展每个单词表条目(如DirBuster)
常规设置:
-s DELAY, --delay=DELAY
请求之间的延迟(浮点数)
-r, --recursive 递归暴力
-R RECURSIVE_LEVEL_MAX, --recursive-level-max=RECURSIVE_LEVEL_MAX
最大递归级别(子目录)(默认值:1[仅限根目录+1目录])
--suppress-empty, --suppress-empty
--scan-subdir=SCANSUBDIRS, --scan-subdirs=SCANSUBDIRS
扫描给定-u |--url的子目录(分开逗号)
--exclude-subdir=EXCLUDESUBDIRS, --exclude-subdirs=EXCLUDESUBDIRS
在递归过程中排除下列子目录扫描(用逗号分隔)
-t THREADSCOUNT, --threads=THREADSCOUNT
线程数
-x EXCLUDESTATUSCODES, --exclude-status=EXCLUDESTATUSCODES
排除状态代码,用逗号分隔(例如:301,500个)
--exclude-texts=EXCLUDETEXTS
用逗号分隔的文本排除响应(示例: "Not found", "Error")
--exclude-regexps=EXCLUDEREGEXPS
按regexp排除响应,用逗号分隔(示例: "Not foun[a-z]{1}", "^Error$")
-c COOKIE, --cookie=COOKIE
--ua=USERAGENT, --user-agent=USERAGENT
用户代理
-F, --follow-redirects
--遵循重定向
-H HEADERS, --header=HEADERS 页眉,--页眉=页眉
要添加的标题 (example: --header "Referer: example.com" --header "User-Agent: IE"
--random-agents, --random-user-agents
随机代理,--随机用户代理
连接设置:
--timeout=TIMEOUT 连接超时
--ip=IP 将名称解析为IP地址
--proxy=HTTPPROXY, --http-proxy=HTTPPROXY
Http代理 (example: localhost:8080
--http-method=HTTPMETHOD
要使用的方法,默认值:GET,也可能是:HEAD;POST
--max-retries=MAXRETRIES
最大重试次数
-b, --request-by-hostname
默认情况下,dirsearch将通过IP请求速度。
这将强制按主机名请求
报告:
--simple-report=SIMPLEOUTPUTFILE 简单输出文件
只找到路径
--plain-text-report=PLAINTEXTOUTPUTFILE 纯文本输出文件
找到带有状态代码的路径
--json-report=JSONOUTPUTFILE JSON输出文件
常见使用方法:
-e * 表示的所有,也可以指定类型
python3 dirsearch.py -e * -u https://target
python3 dirsearch.py -e * -u https://target -w db/dicc.txt
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --recursive -R 2
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --recursive -R 4 --scan-subdirs=/,/wp-content/,/wp-admin/
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --exclude-texts=This,AndThat
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt -H "User-Agent: IE"
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt -t 20
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --random-agents
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --json-report=reports/target.json
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --simple-report=reports/target-paths.txt
python3 dirsearch.py -e php,txt,zip -u https://target -w db/dicc.txt --plain-text-report=reports/target-paths-and-status.json
边栏推荐
- 每周学习总结
- 异步数据-短信验证码
- 函数和箭头函数
- Share a multiple-choice question about the process of program compilation (including a brief discussion on the compilation process, the formation and merging process of symbol tables)
- C语言做一个小迷宫
- 一本通1329 细胞(广度优先搜索)
- Package JWT
- XSS知识点
- C language string function: StrCmp, strncpy, strncat, strncmp, strstr, strtok, strError
- Dnsmasq Usage Summary
猜你喜欢
随机推荐
一本通顺序结构程序设计题解(第一章)
GCC compilation options
[codeforces round 800 D question fake plastic trees] greedy on the tree
初识C语言——什么是C语言
正则表达式
Self understanding and thinking
布局的搭建及天气预报的显示
Carmaker quick start lesson 4 developing 48V P1 hybrid system
初识C语言——常见的数据类型
set集合
封装JWT
分享一道关于程序编译过程的选择题(内含编译过程浅谈,符号表的形成合并过程)
进制的特性
用户页面管理
JS中for...of和for...in的区别
C language elementary level -- branch statement (if, switch)
Apache SSI 远程命令执行漏洞
==,===,Object.is
一本通1353——表达式括号匹配(栈)
elment-ui使用方法








