Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 727 Bytes

File metadata and controls

27 lines (19 loc) · 727 Bytes

Simple Port Scanner

This is a simple port scanner written in Python. You can run a scan on any one particular host or over a given range of IP addresses.

Download the script on your local machine and use as follows.

Usage

  • Single host - scans a single IP address

    ./scanner.py <IP address> <start port> <end port>

    Example:./scanner.py 192.168.0.17 1 65535

  • Network scan - scans a range of IP addresses

    ./scanner.py <network> <start port> <end port> -n

    Example:./scanner.py 192.168.0 1 65535 -n