XSStrike README

The project's README from github.com/s0md3v/XSStrike. As one markdown file: README.md.


XSStrike
XSStrike

Advanced XSS Detection Suite

multi xss

XSStrike Wiki • Usage • FAQ • For Developers • Compatibility • Gallery

XSStrike is a Cross Site Scripting detection suite equipped with four hand written parsers, an intelligent payload generator, a powerful fuzzing engine and an incredibly fast crawler.

Instead of injecting payloads and checking it works like all the other tools do, XSStrike analyses the response with multiple parsers and then crafts payloads that are guaranteed to work by context analysis integrated with a fuzzing engine. Here are some examples of the payloads generated by XSStrike:

}]};(confirm)()//\
<A%0aONMouseOvER%0d=%0d[8].find(confirm)>z
</tiTlE/><a%0donpOintErentER%0d=%0d(prompt)``>z
</SCRiPT/><DETAILs/+/onpoINTERenTEr%0a=%0aa=prompt,a()//

Apart from that, XSStrike has crawling, fuzzing, parameter discovery, WAF detection capabilities as well. It also scans for DOM XSS vulnerabilities.

Main Features

Installation

Enter the following commands one by one in terminal:

git clone https://github.com/s0md3v/XSStrike
cd XSStrike
pip install -r requirements.txt --break-system-packages

Now, XSStrike can be used at any time as follows:

python xsstrike.py

Documentation

FAQ

DOM XSS

dom xss

Reflected XSS

multi xss

Crawling

crawling

Fuzzing

fuzzing

Bruteforcing payloads from a file

bruteforcing

Interactive HTTP Headers Prompt

headers

Hidden Parameter Discovery

arjun

Contribution, Credits & License

Ways to contribute

Licensed under the GNU GPLv3, see LICENSE for more information.

The WAF signatures in /db/wafSignatures.json are taken & modified from sqlmap. I extracted them from sqlmap's waf detection modules which can found here and converted them to JSON.
/plugins/retireJS.py is a modified version of retirejslib.

XSStrike (s0md3v/XSStrike)

Searching Database…

15.2K ·GitHub
What is this?XSStrike is a Cross Site Scripting (XSS) detection suite built around four hand-written parsers, an intelligent payload generator, a fuzzing engine, and a fast crawler. Instead of just firing generic payloads like most scanners, it analyzes the live response and crafts payloads guaranteed to work through context analysis.
Is it a standalone scanner or a library I import into code?It's a command-line Python tool you run against a target URL from the terminal, not a library to import.
How do I get it running?Clone the repository, install the Python requirements, then run the xsstrike.py script against your target in the terminal.
What do I need installed before running it?Just Python 3 with the dependencies listed in requirements.txt; the FAQ specifically flags fuzzywuzzy as one that trips people up during setup.
Will it catch every XSS and never flag a false alarm?No — the project's own FAQ openly discusses its false positive/negative rate, and Blind XSS detection is a separate, more involved workflow rather than something that just works out of the box.
Who is this built for?Penetration testers and security researchers who need to actively probe web apps for reflected and DOM-based XSS, including bruteforcing payloads and discovering hidden parameters.
What are Photon, Zetanize and Arjun used for?They are companion projects by the same author that power XSStrike's crawling (Photon), payload generation (Zetanize), and hidden parameter discovery (Arjun) features.
What does WAF detection and evasion mean here?XSStrike fingerprints the target's web application firewall using signatures adapted from sqlmap, then tailors its payloads to try to slip past that specific WAF.
How does Blind XSS support work?It lets you inject payloads that only execute later in an admin panel or log viewer, so you need an external callback collector set up to catch the results when they fire.
Can I use XSStrike's code in my own closed-source tool?The README's FAQ raises this question directly, and since the project is GPLv3-licensed, any derivative work that reuses its code must also be released under GPLv3, so it can't be folded into proprietary software.
Creator
s0md3v
Size
1.2 MB
Stars
15.2K
Age
9y
Commits · 90 Days