- 使用 html 相似度对结果进行过滤
- 对 301、302、403 状态进行二次判断
- 对 json 返回结果进行判断
- 字典第一个字母大写|全部字母大写|添加前后缀
- 返回页面 title, 如无 title 返回内容前面 30 个字符串 (默认|设置)
- 自动过滤模式, 默认开启 (开启|关闭)
dirsx -u https://www.baidu.com -w words.txt
dirsx -u https://www.baidu.com -w words.txt --split
# -> https://www.baidu.com/a/
# -> https://www.baidu.com/a/b/
dirsx -u https://www.baidu.com -w words.txt --bak
dirsx -u https://www.baidu.com -w words.txt --suffix h5
# https://www.baidu.com/admin
# -> https://www.baidu.com/adminh5
内置一些常用字典选择, 在没有指定字典时显示该列表
- 常见目录字典
- dirsearch 的自带字典
- 长度为 1-5 的字母组合
- ... ...
~ kali$ dirsx -u http://127.0.0.1/
██████╗ ██╗██████╗ ███████╗██╗ ██╗
██╔══██╗██║██╔══██╗██╔════╝╚██╗██╔╝
██║ ██║██║██████╔╝███████╗ ╚███╔╝
██║ ██║██║██╔══██╗╚════██║ ██╔██╗
██████╔╝██║██║ ██║███████║██╔╝ ██╗
╚═════╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1.1.0
xboy@遥遥领先
[payloads, so you can select from the list: ] You have not appoint
[ ] fuzzing-dirs-common.txt
[ ] fuzzing-dirs-dirsearch.txt
[ ] fuzzing-files-php.txt
[ ] fuzzing-letter-len1.txt
[ ] fuzzing-letter-len2.txt
[ ] fuzzing-letter-len3.txt
[ ] fuzzing-letter-len4.txt
... ...
[payloads with number: 1 ] Select
dirsx -h
~ kali$ dirsx -h
██████╗ ██╗██████╗ ███████╗██╗ ██╗
██╔══██╗██║██╔══██╗██╔════╝╚██╗██╔╝
██║ ██║██║██████╔╝███████╗ ╚███╔╝
██║ ██║██║██╔══██╗╚════██║ ██╔██╗
██████╔╝██║██║ ██║███████║██╔╝ ██╗
╚═════╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
1.1.0
xboy@遥遥领先
Usage:
dirsx [OPTIONS]
Application Options:
-u, --url= input url of target
-l, --list= input file containing list of target
-w, --wordlist= appoint wordlist for scanning directory
--title-len= set title display length (default: 30)
-t, --threads= number of threads to use (default: 20)
--timeout= timeout in seconds (default: 5)
-o, --output= file to write output results
--prefix= add prefix of payloads
--suffix= add suffix of payloads
-e, --extension= add extension eg: -e php,html
--remove-ext= remove extension eg: --remove-ext php | admin.php -> admin
--upper-title capitalize the first letter eg: admin -> Admin
--upper-all capitalize the all letter eg: admin -> ADMIN
--bak enable scanning backup file (default:false)
--split enable spliting the url path, eg: /a/b -> /a/, /a/b (default: false)
-X= method of http requests (default: GET)
-x, --excode= specify the status codes that be filtered eg: 400,404 (default: 400,404,406,416,501,502,503)
--no-smart disable smart mode (automated filtering)
Help Options:
-h, --help Show this help message
字典添加
可在 dicts 目录下根据个人需求更新常用字典
dirsx $ tree
.
├── dicts
│ ├── fuzzing-dirs-common.txt
│ ├── fuzzing-dirs-dirsearch.txt
│ ├── fuzzing-files-php.txt
│ ├── fuzzing-letter-len1.txt
│ ├── fuzzing-letter-len2.txt
│ ├── fuzzing-letter-len3.txt
│ ├── fuzzing-letter-len4.txt
│ ├── fuzzing-months-1-12.txt
│ ├── fuzzing-numbers-0-9.txt
│ ├── fuzzing-payloads-aspx.txt
│ ├── fuzzing-payloads-bakfile.txt
│ ├── fuzzing-payloads-common.txt
│ ├── fuzzing-payloads-java.txt
│ ├── fuzzing-payloads-null.txt
│ ├── fuzzing-payloads-php.txt
│ ├── fuzzing-routers-common.txt
│ ├── fuzzing-words-len1-5.txt
│ └── fuzzing-years-1990-2024.txt
├── dirsx
工具获取
原文始发于微信公众号(SecretTeam安全团队):神兵利器 自动化过滤扫描结果的目录扫描工具
- 左青龙
- 微信扫一扫
- 右白虎
- 微信扫一扫
评论