mcpField
D
dirsearch-fuzz

dirsearch-fuzz

github.com/wgpsecセキュリティ1.8k43 回インストール4 日前に更新
リポジトリ

dirsearch-fuzz について

Web セキュリティテスト向けの dirsearch ディレクトリ列挙ガイドです。ワードリスト、拡張子、再帰スキャン、結果のフィルタリングを扱い、複数の形式への出力方法も紹介します。

主な機能

  1. 01内蔵または任意のワードリストを使用
  2. 02拡張子を指定したスキャン
  3. 03ディレクトリの再帰列挙
  4. 04ステータスコードと応答サイズで絞り込み
  5. 05テキスト、JSON、CSV で出力

活用シーン

  1. 01Web サイトの管理画面パスを探す
  2. 02バックアップファイルを列挙
  3. 03異なる Web 技術の拡張子をスキャン

インストール

コマンドをコピーしてターミナルで実行します。

$npx skills add https://github.com/wgpsec/aboutsecurity --skill dirsearch-fuzz

インストール後、Claude Code で/dirsearch-fuzzを入力して読み込まれたか確認します。

README(原文)English

プロジェクトの README より

この README の日本語訳はまだありません。以下は英語の原文です。日本語の紹介はページ上部をご覧ください。

dirsearch Web 目录枚举方法论

dirsearch 是功能丰富的 Web 目录暴力枚举工具。核心优势:内置高质量字典 + 多扩展名支持 + 递归扫描 + 智能过滤。

项目地址:https://github.com/maurosoria/dirsearch

Phase 1: 基本扫描

# 使用内置字典扫描
dirsearch -u http://target.com

# 指定扩展名
dirsearch -u http://target.com -e php,asp,aspx,jsp

# 指定字典
dirsearch -u http://target.com -w /path/to/wordlist.txt

# 静默输出
dirsearch -u http://target.com --quiet

Phase 2: 过滤和匹配

# 排除状态码
dirsearch -u http://target.com -x 404,403,500

# 只显示特定状态码
dirsearch -u http://target.com -i 200,301,302

# 按响应大小过滤
dirsearch -u http://target.com --exclude-sizes 0B,4KB

# 按响应内容过滤
dirsearch -u http://target.com --exclude-texts "Not Found"

# 递归扫描(发现目录后继续扫描子目录)
dirsearch -u http://target.com -r --recursion-depth 3

Phase 3: 高级选项

# 自定义请求头
dirsearch -u http://target.com -H "Cookie: session=abc"

# 带认证
dirsearch -u http://target.com --auth admin:password --auth-type basic

# 使用代理
dirsearch -u http://target.com --proxy http://127.0.0.1:8080

# 控制线程
dirsearch -u http://target.com -t 50

# 批量目标
dirsearch -l urls.txt -e php,asp

# 随机 User-Agent
dirsearch -u http://target.com --random-agent

# 强制扩展名(不使用 %EXT% 占位符)
dirsearch -u http://target.com -f -e php,asp

Phase 4: 输出

# 简单文本
dirsearch -u http://target.com -o results.txt --format plain

# JSON 输出
dirsearch -u http://target.com -o results.json --format json

# CSV 输出
dirsearch -u http://target.com -o results.csv --format csv

常用场景速查

场景命令
PHP 站点dirsearch -u http://target -e php -x 404
Java 站点dirsearch -u http://target -e jsp,do,action -x 404
后台查找dirsearch -u http://target -w admin-wordlist.txt
备份文件dirsearch -u http://target -e bak,old,zip,tar.gz,sql
递归深扫dirsearch -u http://target -r --recursion-depth 3 -e php

コメント