Skip to content

Latest commit

 

History

History
61 lines (44 loc) · 1.24 KB

File metadata and controls

61 lines (44 loc) · 1.24 KB

Network Scanner CLI Tool

A high-speed command-line network and port scanner with CIDR support, CSV/JSON export, colorful output, and concurrency.

Features

  • Scan single IPs or entire networks (CIDR notation supported)
  • Specify port ranges or single ports
  • Outputs results in terminal and generates CSV file
  • Fast and concurrent scanning
  • Easy-to-use CLI interface

Installation

Clone or fork the repository:

git clone https://github.com/Snyxex/Network_Scanner.git
cd Network_Scanner

Install dependencies:
npm install

Make the script executable (optional):
chmod +x netscanner.js

Usage

The tool can be run directly via Node.js:

node netscanner.js <target> <ports>

Or, if installed globally using npm, you can use the netscanner command:

npm link
netscanner <target> <ports>

Examples

Scan a single host on ports 20-80:

netscanner 192.168.1.10 20-80

Scan an entire subnet:

netscanner 192.168.1.0/24 22,80,443

Output

Terminal: Shows live scan results with colored formatting.

CSV: Generates a scan_results.csv file with detailed results.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.