Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network Scanner

A network scanning tool similar to nmap with port scanning and directory enumeration. Made in Python.

Features

  • Port scanning (fast TCP scanning)
  • Service detection (figures out what's running)
  • Directory enumeration (finds web directories)
  • Multi-threaded for speed
  • JSON export for results

Installation

# Install dependencies
pip install -r requirements.txt

# Optional: Install gobuster for better directory scanning
# Linux:
sudo apt-get install gobuster

# macOS:
brew install gobuster

Usage

Basic scan

python main.py 192.168.1.1

Scan specific ports

python main.py 192.168.1.1 -p 80,443
python main.py 192.168.1.1 -p 1-1000

With service detection

python main.py 192.168.1.1 --service-detection

Directory enumeration

python main.py 192.168.1.1 --directory-scan
python main.py 192.168.1.1 --directory-scan --gobuster

Save results

python main.py 192.168.1.1 -o results.json

Options

  • -p, --ports - Port range (e.g. '80,443' or '1-1000')
  • -t, --threads - Number of threads (default: 100)
  • -o, --output - Save results to JSON file
  • --directory-scan - Enable directory enumeration
  • --gobuster - Use gobuster for enumeration
  • -w, --wordlist - Wordlist file for enumeration
  • --timeout - Connection timeout in seconds
  • -s,--service-detection - Enable service detection

Example Output

╔═══════════════════════════════════════════╗
║      Network Scanner v1.0                ║
║      Similar to nmap/zenmap               ║
╚═══════════════════════════════════════════╝

[*] Scanning 1000 ports...
[+] Port 22 is OPEN
[+] Port 80 is OPEN
[+] Port 443 is OPEN

[*] Detecting services...
[+] Port 22: SSH
[+] Port 80: HTTP Server
[+] Port 443: HTTPS

About

A fast network scanner

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages