Skip to content

MR-dineshe/Vulnerability_Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Vulnerability Scanner

A small Python project that scans a host for common issues such as open ports, weak web configuration, and obvious version disclosure.

Features

  • Scan open TCP ports
  • Detect weak or missing security headers on web services
  • Flag exposed Server and X-Powered-By headers
  • Identify expired or soon-to-expire TLS certificates
  • Detect potentially outdated software version strings in banners and headers
  • Generate JSON and text reports

Requirements

  • Python 3.10 or newer

Usage

Run a basic scan:

python vulnerability_scanner.py 127.0.0.1

Scan a host with a custom port list:

python vulnerability_scanner.py example.com --ports 80,443,22,8000-8100

Lower the timeout if you want faster results on filtered ports:

python vulnerability_scanner.py leetcode.com --ports 80,443,22,8000-8100 --timeout 0.3

Change the output directory:

python vulnerability_scanner.py 192.168.1.10 --output-dir reports

Output

The scanner writes two files to the output directory:

  • vulnerability_report_<timestamp>.json
  • vulnerability_report_<timestamp>.txt

How it works

The script checks ports in parallel, then inspects any open web services for headers and TLS issues. It uses simple banner and header fingerprints to spot possible outdated software versions.

Notes

This is a lightweight learning project, not a replacement for authenticated vulnerability management or a full scanner such as Nmap, OpenVAS, or Nessus.

About

a simple script to detect common vulnerabilities in a web application or network. Key Features: Scan for open ports or weak configurations Identify outdated software versions Generate a simple vulnerability report

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages