Skip to main content

Advanced HTML Injection & XSS Scanner tool

Project description

HTMLiHunter - Advanced HTML Injection Scanner

HTMLiHunter is an automated tool to detect HTML Injection vulnerabilities in web applications. It supports scanning GET and POST parameters, DOM reflection detection with Selenium, and custom payload injection.


🚀 Features

  • 🔍 Scans for HTML Injection and Reflected XSS vulnerabilities
  • 🌐 Supports GET and POST parameter testing
  • 🧠 Uses Selenium + headless Chrome for DOM-based reflection detection
  • 🧾 Automatically parses and injects into HTML forms
  • 🧨 Supports custom payload lists
  • 💾 Outputs results to htmli_report.json
  • 🌈 Color-coded output for readability
  • 🔁 Built-in retry logic for unstable networks

Installation:

  1. Ensure Python 3.7+ is installed.

  2. Install dependencies with:

    pip3 install -r requirements.txt --break-system-packages (If you using Debian)

  3. Download ChromeDriver from: https://chromedriver.chromium.org/ and add it to your system PATH.

Usage:

Scan a Single URL:

python exploit.py "https://example.com/search?query=test"

Scan Multiple URLs from File:

python exploit.py -l urls.txt

Use Custom Payloads:

python exploit.py -l urls.txt --payloads payloads.txt

Display Help:

python exploit.py -h

Output:

  • Prints scan progress and vulnerabilities found
  • Saves report to htmli_report.json

Terminal output will indicate:

✅ Successes and findings in green

🔵 Debug messages in blue

⚠️ Warnings or network issues in yellow

❌ DOM injection findings in red

Demo Video 🎬 Watch the HTMLiHunter Demo on YouTube

License:

MIT License (see LICENSE file or https://opensource.org/licenses/MIT)

Legal Disclaimer:

Use responsibly.

HTMLiHunter is intended for educational and authorized penetration testing only. Scanning systems without explicit written permission is illegal and unethical. You are solely responsible for how you use this tool.


Developed by Avik Das Email: developeravikdas@gmail.com

Happy hunting! 🐛🔍

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

htmlihunter-1.5.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

htmlihunter-1.5.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file htmlihunter-1.5.1.tar.gz.

File metadata

  • Download URL: htmlihunter-1.5.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for htmlihunter-1.5.1.tar.gz
Algorithm Hash digest
SHA256 f059293debdce04c55338574e4dcf5fa4c151c9b175162f08f816fd6a9b1a482
MD5 41982297de57c1c2406064f4787527a7
BLAKE2b-256 19626de545a9d292e5f0d2e723b29398b792cbdd008b07a3dfccb17e43c6fe3c

See more details on using hashes here.

File details

Details for the file htmlihunter-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: htmlihunter-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for htmlihunter-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c077c0edfcda9422b8d6cb140062afe381d2384d0da2c068aa9572631f3e9e17
MD5 57fd47ac550ab526e1811997ca6e8a61
BLAKE2b-256 15abba6b8b9fd4f7818a74dc9a3e704f0dc39078fb3e7591d4ba286dbb6e2559

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page