A tool by Fsecurify
Author: Faizan Ahmad https://pk.linkedin.com/in/faizan-ahmad-015964118
http://holisticinfosec.blogspot.com/2016/06/toolsmith-tidbit-xsspy.html
http://fsecurify.com/xsspy-web-application-xss-scanner/
Type the following in the terminal.
git clone https://github.com/faizann24/XssPy/
/opt/xsspy
The tool works on Python 2.7 and you should have mechanize installed. If mechanize is not installed, type "pip install mechanize" in the terminal.
You will also need the mechanize distribution, you can install it with pip:
pip install mechanize
python XssPy.py website.com
(Do not write www.website.com OR http://www.website.com)
Advantage of Docker is that is will run on every machine. You don't need to install Pip packages or use a Venv. Package versions are pinned. This ensures that XssPy will also run in the future. Regardless which Python-Version you've running on you machine.
docker build -t xsspy .
After you build
docker run -t xsspy -u website.com
If you have found a XSS vulnerability, you can try the following payloads. http://pastebin.com/J1hCfL9J
XssPy is a python tool for finding Cross Site Scripting vulnerabilities in websites. This tool is the first of its kind. Instead of just checking one page as most of the tools do, this tool traverses the website and find all the links and subdomains first. After that, it starts scanning each and every input on each and every page that it found while its traversal. It uses small yet effective payloads to search for XSS vulnerabilities.
The tool has been tested parallel with paid Vulnerability Scanners and most of the scanners failed to detect the vulnerabilities that the tool was able to find. Moreover, most paid tools scan only one site whereas XSSPY first finds a lot of subdomains and then scan all the links altogether. The tool comes with:
1) Short Scanning 2) Comprehensive Scanning 3) Finding subdomains 4) Checking every input on every page
With this tool, Cross Site Scripting vulnerabilities have been found in the websites of MIT, Stanford, Duke University, Informatica, Formassembly, ActiveCompaign, Volcanicpixels, Oxford, Motorola, Berkeley and many more.
Mail me if you encounter any errors (fsecurify@gmail.com). You can also post your problems on the website. I'll try my best to respond as soon as possible.
Best Regards Faizan Ahmad CEO of Fsecurify