Skip to content

clommm/Nmap-Port-Scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Nmap-based Port Scanner

This Python script is a simple port scanner that utilizes the Nmap library to scan for open ports on a specified IP address. It allows users to input an IP address and a range of ports to scan, and it reports back the status of each port (open or closed).

Features

  • Utilizes the Nmap library for efficient port scanning.
  • Supports scanning of a range of ports or all ports.
  • Provides a multithreaded scanning process for faster results.
  • Gracefully handles user input errors and exceptions.

Usage

  1. Clone the repository:

git clone https://github.com/clommm/Nmap-Port-Scanner.git

  1. Navigate to the project directory:

cd (directory)

  1. Run the script:

python3 nmap_port_scanner.py (if this doesnt work, use: python nmap_port_scanner.py instead)

  1. Follow the on-screen instructions to input the IP address and port range to scan.

Requirements

  • Python 3.x
  • Python-nmap library
  • Python pyfiglet

Install the required Python packages using pip:

pip install python-nmap

pip install pyfiglet

Otherwise, you can install Nmap from the official nmap website here

**If you do not wish to download Nmap, this is another alternative Port Scanner that I made, that can operate solely with the use of Window's Socket.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages