A security tool for discovering sensitive files on websites. Scans for multiple categories of sensitive files with customizable output formats.
- 🔍 Multiple scan categories:
- Shell/backdoor files
- Environment files
- Git repository files
- Other sensitive files
 
- 📊 Flexible output formats (JSON, CSV)
- 📁 Output file support
- 🎯 Category-based result tracking
git clone https://github.com/begininvoke/SensitiveFileFuzzer.git
cd SensitiveFileFuzzer
go buildBasic scan:
./SensitiveFileFuzzer -url https://example.com --shellComprehensive scan with JSON output:
./SensitiveFileFuzzer -url https://example.com --all -f json -o ./resultsUsage of ./SensitiveFileFuzzer:
  -url string
        Target URL (e.g., https://example.com)
  -all
        Try all file lists
  -env
        Try environment file lists
  -git
        Try git-related file lists
  -sens
        Try sensitive file lists
  -shell
        Try shell/backdoor file lists
  -f string
        Output format: json or csv
  -o string
        Output directory path
  -v    
        Show only successful results
  -config string
        Custom config JSON file path{
  "total_count": 4,
  "categories": {
    "Git": [
      "https://example.com/.git/config",
      "https://example.com/.gitignore"
    ],
    "Environment": [
      "https://example.com/.env",
      "https://example.com/.env.local"
    ]
  },
  "summary": {
    "Git": 2,
    "Environment": 2
  }
}Category,URL
Git,https://example.com/.git/config
Git,https://example.com/.gitignore
Environment,https://example.com/.env
Environment,https://example.com/.env.local
🎯 Found 4 sensitive files:
📁 Git (2 files):
  └─ https://example.com/.git/config
  └─ https://example.com/.gitignore
📁 Environment (2 files):
  └─ https://example.com/.env
  └─ https://example.com/.env.local
Customize detection rules using a JSON configuration file:
{
  "path": "/test.txt",
  "content": "#application/json#text/html",
  "length": "*"
}- "*": Accept any Content-Type
- "#application/json#text/html": Exclude specific Content-Types
- "application/json": Match exact Content-Type
- "length": "10": Match responses with Content-Length >= 10
- "length": "*": Accept any Content-Length
Pull requests are welcome. For major changes, please open an issue first.