python-scripts/scripts/Port_Scanner/readme.md
Samuel Jonathan 8bb59d3a0c
image
screenshot
2022-10-04 16:01:13 +05:30

727 B

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