├── assets ├── image.png └── httpx.png └── readme.md /assets/image.png: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/httpx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/chasingboy/dirsx/HEAD/assets/httpx.png -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- 1 |
4 |
5 |
6 |
7 |
8 |
9 |
105 |
106 | ### --ffuf 模式
107 | 增加 ffuf 模式, 用法与 ffuf 工具一样, 使用 FUZZ 指定 Fuzzing 位置
108 | ```
109 | # Fuzzing dirs
110 | dirsx --ffuf -u http://127.0.0.1/FUZZ -w words.txt
111 | dirsx --ffuf -u http://127.0.0.1/FUZZ.php -w words.txt
112 | dirsx --ffuf -u http://127.0.0.1/FUZZ/index.php -w words.txt
113 |
114 | # Fuzzing headers
115 | dirsx --ffuf -u http://127.0.0.1/ -H "x-forwarded-for: FUZZ"
116 | ```
117 |
118 | ### dirsx -h
119 |
120 | ```bash
121 | ~ kali$ dirsx -h
122 |
123 |
124 | ██████╗ ██╗██████╗ ███████╗██╗ ██╗
125 | ██╔══██╗██║██╔══██╗██╔════╝╚██╗██╔╝
126 | ██║ ██║██║██████╔╝███████╗ ╚███╔╝
127 | ██║ ██║██║██╔══██╗╚════██║ ██╔██╗
128 | ██████╔╝██║██║ ██║███████║██╔╝ ██╗
129 | ╚═════╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝
130 | 1.1.0
131 | xboy@遥遥领先
132 |
133 | Usage:
134 | dirsx [OPTIONS]
135 |
136 | Application Options:
137 | -u, --url= input url of target
138 | -l, --list= input file containing list of target
139 | -w, --wordlist= appoint wordlist for scanning directory
140 | --title-len= set title display length (default: 30)
141 | -t, --threads= number of threads to use (default: 20)
142 | --timeout= timeout in seconds (default: 5)
143 | -o, --output= file to write output results
144 | --prefix= add prefix of payloads
145 | --suffix= add suffix of payloads
146 | -e, --extension= add extension eg: -e php,html
147 | --remove-ext= remove extension eg: --remove-ext php | admin.php -> admin
148 | --upper-title capitalize the first letter eg: admin -> Admin
149 | --upper-all capitalize the all letter eg: admin -> ADMIN
150 | --bak enable scanning backup file (default:false)
151 | --split enable spliting the url path, eg: /a/b -> /a/, /a/b (default: false)
152 | -X= method of http requests (default: GET)
153 | -x, --excode= specify the status codes that be filtered eg: 400,404 (default:
154 | 400,404,406,416,501,502,503)
155 | --cookie= set request cookies, eg: --cookie "session=admin"
156 | -H, --headers= set request headers, string[] eg: -H "Token: admin=true" -H "Cookie:
157 | login=true"
158 | --headers-file= set request headers file, eg: --headers-file headers.txt
159 | --proxy= set request proxy, eg: --proxy http://127.0.0.1:8080
160 | --no-smart disable smart mode (automated filtering)
161 |
162 | Help Options:
163 | -h, --help Show this help message
164 | ```
165 |
166 | ### 字典添加
167 | 可在 dicts 目录下根据个人需求更新常用字典
168 | ```
169 | dirsx $ tree
170 | .
171 | ├── dicts
172 | │ ├── fuzzing-dirs-common.txt
173 | │ ├── fuzzing-dirs-dirsearch.txt
174 | │ ├── fuzzing-files-php.txt
175 | │ ├── fuzzing-letter-len1.txt
176 | │ ├── fuzzing-letter-len2.txt
177 | │ ├── fuzzing-letter-len3.txt
178 | │ ├── fuzzing-letter-len4.txt
179 | │ ├── fuzzing-months-1-12.txt
180 | │ ├── fuzzing-numbers-0-9.txt
181 | │ ├── fuzzing-payloads-aspx.txt
182 | │ ├── fuzzing-payloads-bakfile.txt
183 | │ ├── fuzzing-payloads-common.txt
184 | │ ├── fuzzing-payloads-java.txt
185 | │ ├── fuzzing-payloads-null.txt
186 | │ ├── fuzzing-payloads-php.txt
187 | │ ├── fuzzing-routers-common.txt
188 | │ ├── fuzzing-words-len1-5.txt
189 | │ └── fuzzing-years-1990-2024.txt
190 | ├── dirsx
191 | ```
192 |
193 | ### dirsx 安装
194 | 根据对应系统类型下载执行文件 https://github.com/chasingboy/dirsx/releases
195 |
196 | > ⚠️注意: 源代码中删除了部分还需要完善的代码,所以请不要使用源代码编译
197 |
198 |
199 | > window 10 终端颜色显示问题, 可以更换系统终端为 window terminal 解决此问题 `https://github.com/microsoft/terminal`
200 |
201 | ### 公众号
202 | 该公众号用于编写 Xtools 系列工具使用文档和工具更新通知
203 |
204 | 