Skip to main content

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

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) :

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.4.tar.gz (15.0 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.4-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file web_vulnscanner-0.1.4.tar.gz.

File metadata

  • Download URL: web_vulnscanner-0.1.4.tar.gz
  • Upload date:
  • Size: 15.0 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.4.tar.gz
Algorithm Hash digest
SHA256 644444cd0b4a71617d43c685368e354e2ae48323cd92d3ff3519e61984132c85
MD5 5d255d208c3e4ab4cb351bb512b7ec14
BLAKE2b-256 87fd4733ac45f194bd34a80e53785d2b4b928c60a1748d6c5165a254d32ee41c

See more details on using hashes here.

File details

Details for the file web_vulnscanner-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for web_vulnscanner-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3eed43624c31db4415ae140d334408bcbc4f5094daac5c396c3b40c072f00964
MD5 1b4cff04d4a96c33b06b0fd44596a6b0
BLAKE2b-256 79ce5a8932c88d38be86938328ded03170ecf7f7bb62b84e63da265734ffd139

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