Skip to content

EnCrYpTeD05/XSS-HUNTER

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎯 XSS Hunter v2.0

Automated Reflected XSS Scanner for Bug Bounty Hunters

Python License Platform Bug Bounty Version

Created by EnCrYpTeD05

"Hack Smart. Hunt Hard." 🎯


πŸ“Œ Overview

XSS Hunter v2.0 is a fully automated, end-to-end Reflected XSS vulnerability scanner built specifically for bug bounty hunters. It chains together industry-standard open-source tools into a single seamless pipeline β€” from subdomain enumeration all the way to confirmed Proof-of-Concept XSS vulnerabilities.

No more manual chaining of tools. No more missed parameters. Just one command.

python3 xsshunter.py -d target.com

βš™οΈ Workflow

Target Domain
      β”‚
      β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  1. Subfinder            β”‚  β†’  Subdomain Enumeration
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  2. Active Check         β”‚  β†’  Filter Live Subdomains (20 Threads)
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  3. ParamSpider          β”‚  β†’  Parameter Discovery (No Timeout)
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  4. Smart Filter         β”‚  β†’  Single Params + Remove login/account URLs
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  5. Deduplication        β”‚  β†’  Remove Duplicate URLs
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  6. FUZZ β†’ 123           β”‚  β†’  Dalfox Compatibility Fix
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  7. Dalfox Scan          β”‚  β†’  Reflected XSS + WAF Evasion
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
           β”‚
           β–Ό
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  8. Extract POCs         β”‚  β†’  vulnerableurl.txt 🎯
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸš€ Features

Core Features

Feature Description
πŸ” Subdomain Enumeration Automatically discovers subdomains using Subfinder
βœ… Active Subdomain Check Filters only live subdomains using 20 parallel threads
πŸ•·οΈ Parameter Discovery Collects all URLs and parameters using ParamSpider β€” no timeout, handles 100k+ parameters
🎯 Smart URL Filtering Automatically removes login/account URLs, filters single parameter URLs
πŸ”„ Duplicate Removal Removes duplicate URLs before scanning
πŸ’‰ Reflected XSS Scan Dalfox with --mining-dom=false β€” focused Reflected XSS only
πŸ›‘οΈ WAF Evasion Built-in --waf-evasion β€” works against WAF protected sites
πŸ“‹ Clean Output Filters WAF spam lines β€” only important output shown on screen
🎯 POC Extraction Saves confirmed vulnerable URLs to a separate file

Stability Features

Feature Description
🌐 Internet Auto-Recovery Waits on disconnect, automatically resumes on reconnect
⚑ Rate Limit Detection Auto-increases delay on 429 detection + 30s wait
πŸ“ Error Logging All errors saved to a timestamped log file
πŸ›‘ Graceful Exit Progress saved even on Ctrl+C
πŸ”„ Auto Resume Interrupted scans resume from where they left off

Usability Features

Feature Description
πŸ“Š Live Progress Bar Real-time status for every step
πŸ”’ ParamSpider Live Counter Shows real-time parameter count while collecting
βš™οΈ Default + Custom Mode Use Dalfox default settings or specify custom flags
πŸ’» Single Command Entire workflow in one command

πŸ“‹ Requirements

Tool Type
Python 3 Pre-installed on Kali Linux
Subfinder Go tool
ParamSpider Python package
Dalfox Go tool

πŸ› οΈ Installation

Auto Install (Recommended)

Clone the repo and run the installer β€” it will install everything automatically:

git clone https://github.com/EnCrYpTeD05/XSS-HUNTER.git
cd XSS-HUNTER
chmod +x install.sh && ./install.sh

Manual Install

# Python dependencies
pip install requests paramspider

# Go tools
go install -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder@latest
go install github.com/hahwul/dalfox/v2@latest

πŸ“– Usage

Basic Usage (Recommended)

python3 xsshunter.py -d target.com

Custom Dalfox Settings

python3 xsshunter.py -d target.com --dalfox-mode custom --workers 5 --delay 500 --timeout 30

All Options

  -d, --domain        Target domain (required)
  --threads           Threads for active subdomain check (default: 20)
  --dalfox-mode       'default' or 'custom' (default: default)
  --workers           Dalfox workers in custom mode (default: 5)
  --delay             Dalfox delay in ms (default: 500)
  --timeout           Dalfox timeout in seconds (default: 30)

πŸ“‚ Output Files

File Description
subdomains.txt All discovered subdomains
activesubdomains.txt Live/active subdomains only
parameters.txt All discovered parameters (merged)
singleparam.txt Filtered single-parameter URLs
withoutfuzz.txt Deduplicated URLs ready for scanning
scan Full Dalfox scan output
vulnerableurl.txt Confirmed vulnerable URLs 🎯
xss_hunter_errors_*.log Error log file

🧹 Cleanup Before New Scan

Always clean up before scanning a new target domain:

rm -rf results/ parameters.txt singleparam.txt withoutfuzz.txt subdomains.txt activesubdomains.txt scan vulnerableurl.txt scanned_urls.txt pending_urls.txt

πŸ“Έ Sample Output

[*] Starting scan [SID:4][4/64][6.25%] / URL: http://target.com/page.php?id=1
[*] Valid target [ code:200 / size:100 ]
[W] Reflected Payload in HTML: id=><script>alert(1)</script>
[POC][R][GET][inHTML-URL] http://target.com/page.php?id=1%3E%3Cscript%3Ealert%281%29%3C%2Fscript%3E
[V] Triggered XSS Payload (found DOM Object): id="><IMG SRC=x onpageshow="alert(1)" class=dalfox>
[POC][V][GET][inHTML-URL] http://target.com/page.php?id=1%22%3E%3CIMG+SRC%3Dx...
[*] [duration: 31m][issues: 5] Finish Scan!

⚠️ Legal Disclaimer

This tool is intended strictly for authorized security testing only:

  • βœ… Authorized bug bounty programs
  • βœ… CTF competitions
  • βœ… Explicitly authorized penetration testing engagements
  • βœ… Your own systems/applications

Always verify the target is in-scope before testing. Follow the program's rules and terms of service at all times.

The author is not responsible for any misuse or damage caused by this tool. Unauthorized use of this tool against systems you do not have permission to test is illegal and unethical.


πŸ“„ License

This project is licensed under the MIT License β€” see the LICENSE file for details.

Copyright (c) 2026 EnCrYpTeD05


πŸ‘€ Author

EnCrYpTeD05 | GitHub: @EnCrYpTeD05 🌐 Website: https://encrypted05.github.io/

"Hack Smart. Hunt Hard." 🎯


⭐ If this tool helped you find bugs, drop a star on the repo!

About

Automated Reflected XSS Scanner for Bug Bounty Hunters | Built with Subfinder, ParamSpider & Dalfox

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors