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.3.tar.gz (13.5 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.3-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: web_vulnscanner-0.1.3.tar.gz
  • Upload date:
  • Size: 13.5 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.3.tar.gz
Algorithm Hash digest
SHA256 23a5233871074905ff2d5fa6a65b673f242589159875564c5e8d2fea439a596a
MD5 9cdb95a41b1f42cdf9087a9641d957fd
BLAKE2b-256 cee7a642f8fa48de34425c27d6ec0c1f058aed6251af11909e00dffd5313b2e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for web_vulnscanner-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 aabfc87a793cdd9c916d7475baac016ad7ec7cbb5d15ca4cb6e4e5a8cee76d1e
MD5 f62fdd26c01f0a81b81fe66a2a54b8ab
BLAKE2b-256 b5956686d24c25d164159a7b8b3b52d36992775cae9585897976008d2fcbd87a

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