Skip to content

roxm337/xss_detecter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 

Repository files navigation

XSS Scanner by r10xM37

Automated XSS Detection Tool

This is an advanced XSS scanner that detects Reflected, Stored, and DOM-based XSS vulnerabilities in web applications.


⚑ Features

βœ… Reflected XSS Detection – Tests URL parameters for reflection vulnerabilities.
βœ… Stored XSS Detection – Submits payloads into forms to check for stored XSS.
βœ… DOM-based XSS Detection – Uses Selenium to identify client-side JavaScript vulnerabilities.
βœ… Custom Headers Spoofing – Bypasses simple bot protections.
βœ… Logging Support – Saves scan results in xss_report.txt.
βœ… Headless Selenium Mode – For efficient browser-based testing.


πŸ“¦ Requirements

Install dependencies:

pip install requests beautifulsoup4 selenium

Install Firefox and Geckodriver (Required for Selenium):

Linux:

sudo apt install firefox
wget https://github.com/mozilla/geckodriver/releases/latest/download/geckodriver-linux64.tar.gz
tar -xvzf geckodriver-linux64.tar.gz
sudo mv geckodriver /usr/local/bin/

MacOS:

brew install geckodriver

Windows:

Download Geckodriver from Mozilla GitHub Releases.

Extract and add it to your system PATH.

πŸš€ Usage

Run the scanner:

python xss_detector.py

Enter the target URL when prompted. Example: Enter target URL: https://example.com/search?q=test

πŸ“œ How It Works

Reflected XSS: Injects payloads into URL parameters and checks if they appear in the response.

Stored XSS: Submits payloads into forms and verifies if they persist in the page.

DOM-based XSS: Loads the URL in Selenium, injects payloads into the URL fragment, and checks for JavaScript execution.

⚠️ Disclaimer

This tool is for educational and security testing purposes only. Do not use it on websites without permission. Unauthorized testing is illegal!

πŸ”— Author

r10xM37 – Ethical Hacker & Security Researcher

This README covers installation, usage, and key details. Let me know if you need modifications! πŸš€

About

Automated XSS Detection Tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages