Skip to content

amalpvatayam67/network_scanner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Port Scanner Tool (Terminal-Based)

A lightweight Python-based port scanner that uses the nmap module to scan a target's open ports (1–1024 by default). Features a clean terminal loader animation and logs scan results to a report file.


πŸ“¦ Features

  • πŸ” Scans TCP ports (1–1024) using nmap
  • 🎯 Accepts IP address or domain as input
  • ⏳ Real-time loading animation during scan
  • πŸ“ Auto-saves scan reports in the scan_reports/ folder
  • πŸ’‘ Simple, terminal-friendly, and beginner-safe

πŸ› οΈ Requirements

  • Python 3.x
  • python-nmap package
  • nmap must be installed on your system

πŸ“₯ Installation

  1. Clone the Repository

    git clone https://github.com/your-username/port-scanner.git
    cd port-scanner
  2. Install Python Requirements

    pip install python-nmap
  3. Install Nmap Tool (if not already installed)


πŸš€ Usage

python3 port_scanner.py

Then enter your target IP or domain when prompted:

Enter your target (Domain or IP) >> scanme.nmap.org

πŸ“ Output

  • The tool creates a folder scan_reports/ (you can create it manually if not present).
  • Each scan creates or updates a file named like scanme_nmap_org.txt.

Example content:

Host : scanme.nmap.org ()
port : 22    state : open
port : 80    state : open
2025-07-10 10:32:19.150041 scanned using namap module

⚠️ Disclaimer

This tool is for educational and authorized testing only.
Never scan a system you don't have permission to test.


πŸ™ Credits

Developed with ❀ by Amal
Python + Nmap = Fast & Friendly Scanning πŸ”


πŸ“ƒ License

MIT License

About

Lightweight Python-based port scanner with nmap integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages