Skip to main content

A Python-based Network Vulnerability Scanner CLI tool

Project description

Network Vulnerability Scanner

A Python-based CLI tool for scanning network ports, detecting service versions via banner grabbing, and querying the NVD API for known CVEs.

Installation

Prerequisites

  • Python 3.7+
  • pip

Install from Source

  1. Clone the repository:

    git clone <your-github-repo-url>
    cd "web scanner"
    
  2. (Optional) Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows, use: venv\Scripts\activate
    
  3. Install the package and its dependencies:

    pip install -e .
    

Usage

After installation, the tool is available as a global command called netvulnscan.

netvulnscan --target <IP_OR_HOSTNAME> [OPTIONS]

Examples

Scan a target IP for open ports (1-1024) and print a terminal report (default):

netvulnscan --target 192.168.1.1

Scan specific ports with verbose output:

netvulnscan --target example.com --ports 22,80,443 --verbose

Export results to an HTML report:

netvulnscan --target 10.0.0.5 --ports 1-100 --output html

Options

  • --target (Required): Target IP or hostname.
  • --ports: Port range to scan (e.g., 1-1024 or 80). Default: 1-1024.
  • --timeout: Timeout for connections in seconds. Default: 1.0.
  • --output: Output format (terminal, json, html). Default: terminal.
  • --verbose: Enable verbose output.

Disclaimer

This tool should only be used on systems you own or have permission to test.

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

netvulnscan_rahul-0.1.0.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

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

netvulnscan_rahul-0.1.0-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file netvulnscan_rahul-0.1.0.tar.gz.

File metadata

  • Download URL: netvulnscan_rahul-0.1.0.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for netvulnscan_rahul-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0765f49a047a19713b788aed7cde7d075d3eedb72ce6e1e3596a2e139c5ffed9
MD5 45bfa6c3f61ce9b4857a4852f6289b98
BLAKE2b-256 01944d22f3f3a5b3b2532900cb9806386a74c38e254d475b63f36a58eebc358d

See more details on using hashes here.

File details

Details for the file netvulnscan_rahul-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for netvulnscan_rahul-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cad0c4754534973dad694e542515e0a2e2ea93d91f81d8013093e0ea5c55307
MD5 992c661e1f0b46914eb142913c32be37
BLAKE2b-256 a2f757883b0b102a6e80f01ff1602247da48745f4343af08880e77da991fc7a7

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