hacktricks/pentesting-web/xss-cross-site-scripting/xss-tools.md
carlospolop f0e09e3f54 social
2023-03-06 00:16:20 +01:00

4.3 KiB

XSS Tools

HackTricks in 🐦 Twitter 🐦 - 🎙️ Twitch Wed - 18.30(UTC) 🎙️ - 🎥 Youtube 🎥

XSStrike

git clone https://github.com/s0md3v/XSStrike.git
cd XSStrike
pip install -r requirements.txt
python xsstrike.py

python xsstrike.py -u "http://SERVER_IP:PORT/index.php?task=test" 

Basic Usage(Get):
python3 xsstrike.py --headers -u "http://localhost/vulnerabilities/xss_r/?name=asd"
Basic Usage(Post):
python xsstrike.py -u "http://example.com/search.php" --data "q=query"
Crawling(depth=2 default):
python xsstrike.py -u "http://example.com/page.php" --crawl -l 3
Find hidden parameters:
python xsstrike.py -u "http://example.com/page.php" --params
Extra:
--headers #Set custom headers (like cookies). It is necessary to set every time
--skip-poc
--skip-dom #Skip DOM XSS scanning

BruteXSS

git clone https://github.com/rajeshmajumdar/BruteXSS

Tool to find vulnerable (GET or POST) parameter to XSS using a list of payloads with a GUI.
Custom headers (like cookies) can not be configured.

XSSer

https://github.com/epsylon/xsser
Already installed in Kali.
Complete tool to find XSS.

Basic Usage(Get):

The tool doesnt send the payload:(

XSSCrapy

git clone https://github.com/DanMcInerney/xsscrapy

Not recommended. A lot of unnecessary output, and it doesn`t work properly.

Dalfox

https://github.com/hahwul/dalfox

HackTricks in 🐦 Twitter 🐦 - 🎙️ Twitch Wed - 18.30(UTC) 🎙️ - 🎥 Youtube 🎥