dirscan 命令 - GYscan

← 返回文档导航

GYscan dirscan -u URL [选项]

网站目录扫描工具,基于dirsearch功能开发,支持多线程扫描、自定义字典、扩展名扫描、状态码过滤等功能。

选项:

-u, --url URL

目标URL地址(必需参数)

-w, --wordlist 文件路径

字典文件路径,默认使用内置字典

-t, --threads 线程数

并发线程数,默认20

--timeout 秒数

请求超时时间,默认10秒

-e, --extensions 扩展名列表

扫描文件扩展名,逗号分隔,如:php,html,txt

-o, --output 文件路径

结果输出文件路径

--user-agent 字符串

自定义User-Agent请求头

--proxy 代理地址

代理服务器地址,支持HTTP/SOCKS

--show-all

显示所有响应,包括错误页面

--status-codes 状态码列表

过滤显示的状态码,逗号分隔,如:200,301,403

使用示例:

GYscan dirscan -u http://example.com

使用默认字典进行基本扫描

GYscan dirscan -u https://example.com -w wordlist.txt

使用自定义字典文件扫描

GYscan dirscan -u http://example.com -t 50 -e php,html,asp

使用50线程,扫描PHP、HTML、ASP文件

GYscan dirscan -u http://example.com --proxy http://127.0.0.1:8080

通过代理服务器扫描

GYscan dirscan -u http://example.com -o results.txt

保存扫描结果到文件