XSStrike is an advanced XSS (Cross-Site Scripting) detection tool written in Python. It analyzes web applications and helps identify XSS vulnerabilities by generating intelligent payloads and testing how the target responds.
Installation Commands
Update Termux and install required packages:
pkg update && pkg upgrade && pkg install git python -yClone the official GitHub repository:
git clone https://github.com/s0md3v/XSStrike.gitMove into the XSStrike directory:
cd XSStrikeInstall required Python modules:
pip install -r requirements.txtFix urllib3 compatibility issue (important):
pip uninstall urllib3 && pip install "urllib3<2"Verify installation:
python xsstrike.py -hUsage Commands
Scan a URL for XSS vulnerabilities:
python xsstrike.py -u https://example.comScan a URL with parameters:
python xsstrike.py -u "https://example.com/search?q=test"Crawl a website and test discovered pages:
python xsstrike.py -u https://example.com --crawlUse custom headers:
python xsstrike.py -u https://example.com --headersTest using POST request:
python xsstrike.py -u https://example.com/login --data "username=test&password=test"Save output results to a file:
python xsstrike.py -u https://example.com -o result.txtShow help and all available options:
python xsstrike.py -h