Skip to main content

A Simple CLI python tool to scan a website for various common vulnerabilities.

Project description

Vulnscanner

A Simple CLI python tool to scan a website for various common vulnerabilities. For example, XSS, SQLi, SSTI and directory traversal. I plan to improve this by adding much more features than the current version. The list of features that I plan / hope to add is listed below!

⚠️ Notes:

Vulnscanner is heavily a POC that I made. Although it works on basic webpages with obvious vulnerabilities exposed, it will most likely not detect any vulnerabilities in actual websites due to the complexity of the websites. In the future, I might add features which make it more compatible and more viable with actual websites but for now, Vulnscanner is currently heavily a POC. Furthermore, I used AI-assistance for some parts of this project to refine some of the code I have written for this programme as well as assisting me in fixing bugs. Without AI-assistance, this project would be heavily limited with very little features and most likely will have many bugs present.

This is also not a substitute for tools such as burpsuite or OWASP ZAP for now. This tool is just to scan for surface level vulnerabilities the website might have and it will not be a very accurate representation of the vulnerabilities present in the scanned website.

🛠️ Features:

This CLI tool helps to scan a webpage for the following vulnerabilities:

  • Cross-Site Scripting (XSS)
  • Potential JavaScript code Vulnerabilities scanner (dangerous functions / prototype pollution)
  • (Blind) Local File Inclusion [LFI]
  • SQL injection (SQLi)
  • Server Side Template Injection (SSTI) This CLI tool also serves other aspects such as:
  • HTTP 2 Support checking
  • Server Information / Headers checking
  • Crawling all urls (Via href) that can be accessed
  • Also uses playwright to simulate an actual user entering the website (utilized together with httpx)

📅 Plans for future:

As this project is very new, it does not have much features to it. Below is what i plan / hope to add in the future:

  • SSRF + CSRF detection vectors
  • More edge cases (possibly expose more vulnerabilities)
  • .Wasm extraction from page
  • Maybe recreation of entire webpages
  • Possibility Registration / Login detection (If possible?)
  • Registration / Login Automation (If possible?)
  • JWT / Cookie scanner (checks if the website is using any type of JWT / cookies)
  • Extra Positional arguments (ie: allowing users to add specific fields like JWTs)
  • Possibly reading source code for common vulnerabilities in code (unlikely due to the amount of edge cases)

💻 Setup VIA git clone:

git clone https://github.com/randomguy6407/Vulnscanner.git
cd Vulnscanner
pip install -r requirements.txt
playwright install
python3 main.py

💻 Setup VIA pip package (https://pypi.org/project/Web-Vulnscanner/0.1.0/) :

pip install Web-Vulnscanner
playwright install
python3 main.py

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

Web_Vulnscanner-0.1.1.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

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

Web_Vulnscanner-0.1.1-py3-none-any.whl (17.1 kB view details)

Uploaded Python 3

File details

Details for the file Web_Vulnscanner-0.1.1.tar.gz.

File metadata

  • Download URL: Web_Vulnscanner-0.1.1.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for Web_Vulnscanner-0.1.1.tar.gz
Algorithm Hash digest
SHA256 03ec593214079887bf12b17fcfbe7add04d13dffaadf4da7c3ee7558c38decb8
MD5 88f2532eac4e58151c919b69bceb85ae
BLAKE2b-256 49c236208025b44c96cf59b68edc42f5bec8070aca72cf825bd7ff85728dd2fd

See more details on using hashes here.

File details

Details for the file Web_Vulnscanner-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Web_Vulnscanner-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d4da3ef9f6ced6d964ea4c800f813af4a27644de777da50d18d211221fdd2b3d
MD5 faf221f4f7be279212bd2d22420cd8ed
BLAKE2b-256 fc2a783d43c4b41197c4db6477b34433a9e6afdff83e9518769cc64fca73c0a0

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