GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” GitHub - kalachbeg/NetShark: All-in-one CLI security scanner: port scanning, web security, subdomain enumeration, network monitoring. Multi-threaded, cross-platform.

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/ISSUE_TEMPLATE
.github/ISSUE_TEMPLATE
 
 
modules
modules
 
 
utils
utils
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
netshark.py
netshark.py
 
 
requirements.txt
requirements.txt
 
 
secscan.py
secscan.py
 
 

Repository files navigation

๐Ÿ”’ NetShark - Multi-Purpose Security Scanner

๐Ÿ“– About

NetShark is a comprehensive command-line security scanning tool that combines multiple security analysis capabilities into a single, easy-to-use interface. Whether you're performing penetration testing, security audits, or learning about cybersecurity, NetShark provides the tools you need.

๐ŸŽฏ Why NetShark?

  • ๐Ÿš€ Fast & Efficient - Multi-threaded scanning for quick results
  • ๐ŸŽจ Beautiful CLI - Colorful output with real-time progress indicators
  • ๐Ÿ”ง Easy to Use - Simple commands, powerful results
  • ๐Ÿ“ฆ All-in-One - No need for multiple tools
  • ๐Ÿ› ๏ธ Extensible - Modular architecture for easy customization
  • ๐Ÿ“Š Multiple Formats - Export results as JSON, CSV, or TXT

โœจ Features

๐Ÿ” Port Scanner

  • Fast TCP/UDP port scanning
  • Service detection & banner grabbing
  • Multi-threaded for speed
  • Custom port ranges

๐ŸŒ Web Security Analyzer

  • SSL/TLS certificate analysis
  • Security headers checking
  • Security score calculation
  • Detailed vulnerability reports

๐Ÿ”Ž Subdomain Enumeration

  • DNS-based discovery
  • Custom wordlist support
  • Multi-threaded enumeration
  • Fast & efficient

๐Ÿ“Š Network Monitor

  • Real-time traffic monitoring
  • Packet capture & analysis
  • BPF filter support
  • Cross-platform compatible

๐ŸŽจ Additional Features

  • โœจ Beautiful CLI - Colorful terminal output with progress indicators
  • ๐Ÿ“ Multiple Export Formats - JSON, CSV, and TXT support
  • ๐Ÿ”„ Cross-Platform - Works on Windows, Linux, and macOS
  • โšก High Performance - Optimized for speed and efficiency
  • ๐Ÿ›ก๏ธ Safe & Legal - Educational and authorized testing only

๐Ÿš€ Quick Start

๐Ÿ“ฅ Installation

๐Ÿง Linux / macOS
# Clone the repository
git clone https://github.com/kalachbeg/netshark.git
cd netshark

# Install dependencies
pip install -r requirements.txt

# Run NetShark
python netshark.py --help
๐ŸชŸ Windows
# Clone the repository
git clone https://github.com/kalachbeg/netshark.git
cd netshark

# Install Python 3.7+ if not already installed
# Then install dependencies
pip install -r requirements.txt

# Run NetShark
python netshark.py --help

โšก Quick Example

# Scan ports on a target
python netshark.py scan -t 192.168.1.1 -p 80,443,8080

# Analyze web security
python netshark.py web -u https://example.com

# Find subdomains
python netshark.py subdomain -d example.com

๐Ÿ“– Usage Guide

๐Ÿ” Port Scanning

Click to expand examples
# Scan common ports (1-1000)
python netshark.py scan -t 192.168.1.1

# Scan specific ports
python netshark.py scan -t example.com -p 80,443,8080

# Scan with banner grabbing
python netshark.py scan -t 192.168.1.1 -p 1-1000 --banner

# Scan UDP ports
python netshark.py scan -t 192.168.1.1 -p 53 -s udp

# Export results to JSON
python netshark.py scan -t 192.168.1.1 -o json -f results.json

๐ŸŒ Web Security Analysis

Click to expand examples
# Full web security analysis
python netshark.py web -u https://example.com

# SSL/TLS only
python netshark.py web -u https://example.com --ssl-only

# Export to CSV
python netshark.py web -u https://example.com -o csv -f security_report.csv

๐Ÿ”Ž Subdomain Enumeration

Click to expand examples
# Basic enumeration
python netshark.py subdomain -d example.com

# With custom wordlist
python netshark.py subdomain -d example.com -w wordlist.txt

# With more threads (faster)
python netshark.py subdomain -d example.com -t 100

๐Ÿ“Š Network Monitoring

Click to expand examples
# Monitor on default interface (Linux)
python netshark.py monitor -c 50

# Monitor specific interface
python netshark.py monitor -i eth0 -c 100

# With filter
python netshark.py monitor -f "tcp port 80" -c 50

Note: Network monitoring on Windows uses basic netstat functionality. For full packet capture, use Linux with scapy installed.

๐Ÿ“‹ Command Reference

Global Options

  • --version - Show version information
  • --help - Show help message

Scan Command

python netshark.py scan [OPTIONS]

Options:
  -t, --target TEXT      Target IP address or hostname [required]
  -p, --ports TEXT       Port range (e.g., 1-1000, 80,443,8080) [default: 1-1000]
  -T, --timeout FLOAT    Connection timeout in seconds [default: 1.0]
  -s, --scan-type TEXT   Scan type: tcp, udp, or both [default: tcp]
  -o, --output TEXT      Output format: json, csv, or txt
  -f, --file TEXT        Output file path
  --banner               Grab service banners

Web Command

python netshark.py web [OPTIONS]

Options:
  -u, --url TEXT         Target URL [required]
  -o, --output TEXT      Output format: json, csv, or txt
  -f, --file TEXT        Output file path
  --ssl-only             Only check SSL/TLS configuration

Subdomain Command

python netshark.py subdomain [OPTIONS]

Options:
  -d, --domain TEXT      Target domain [required]
  -w, --wordlist TEXT    Custom wordlist file path
  -t, --threads INTEGER  Number of threads [default: 50]
  -o, --output TEXT      Output format: json, csv, or txt
  -f, --file TEXT        Output file path

Monitor Command

python netshark.py monitor [OPTIONS]

Options:
  -i, --interface TEXT   Network interface (e.g., eth0, wlan0)
  -c, --count INTEGER    Number of packets to capture [default: 100]
  -f, --filter TEXT      BPF filter (e.g., tcp port 80)
  -o, --output TEXT      Output format: json, csv, or txt
  --file TEXT            Output file path

๐ŸŽฏ Real-World Examples

๐Ÿ”ฅ Example 1: Quick Security Audit

# Perform a complete security check
python netshark.py web -u https://example.com -o json -f audit.json

๐Ÿ”ฅ Example 2: Network Discovery

# Scan common ports on a network
python netshark.py scan -t 192.168.1.1 -p 1-1000 --banner

๐Ÿ”ฅ Example 3: Subdomain Discovery Workflow

# Find all subdomains
python netshark.py subdomain -d example.com -t 100 -o txt -f subdomains.txt

# Then scan ports on discovered subdomains
# (Use subdomains.txt to iterate)

๐Ÿ”ฅ Example 4: Complete Security Assessment

# 1. Find subdomains
python netshark.py subdomain -d example.com -o json -f subs.json

# 2. Analyze web security for each subdomain
python netshark.py web -u https://www.example.com -o csv -f security.csv

# 3. Scan open ports
python netshark.py scan -t example.com -p 80,443,8080,8443

๐Ÿ”ง Requirements

Component Version Description
Python 3.7+ Tested with 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13
click โ‰ฅ8.0.0 CLI framework
requests โ‰ฅ2.28.0 HTTP library
dnspython โ‰ฅ2.3.0 DNS operations
scapy โ‰ฅ2.5.0 Network packet manipulation (Linux only, optional)

๐Ÿ“ Project Structure

netshark/
โ”œโ”€โ”€ ๐Ÿ“„ netshark.py              # Main CLI entry point
โ”œโ”€โ”€ ๐Ÿ“‚ modules/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ ๐Ÿ” port_scanner.py     # Port scanning module
โ”‚   โ”œโ”€โ”€ ๐ŸŒ web_security.py     # Web security analysis
โ”‚   โ”œโ”€โ”€ ๐Ÿ”Ž subdomain_enum.py   # Subdomain enumeration
โ”‚   โ””โ”€โ”€ ๐Ÿ“Š network_monitor.py  # Network monitoring
โ”œโ”€โ”€ ๐Ÿ“‚ utils/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ ๐ŸŽจ colors.py           # Terminal colors
โ”‚   โ””โ”€โ”€ ๐Ÿ“ค output.py           # Output formatting
โ”œโ”€โ”€ ๐Ÿ“‹ requirements.txt        # Python dependencies
โ”œโ”€โ”€ ๐Ÿ“„ LICENSE                 # MIT License
โ””โ”€โ”€ ๐Ÿ“– README.md              # This file

โš ๏ธ Legal Disclaimer

This tool is for educational and authorized security testing purposes only.

  • Only scan systems you own or have explicit permission to test
  • Unauthorized scanning is illegal in many jurisdictions
  • The authors are not responsible for misuse of this tool
  • Always comply with local laws and regulations

๐Ÿค Contributing

We welcome contributions! Here's how you can help:

  1. โญ Star the repository - Show your support!
  2. ๐Ÿด Fork the project - Create your own copy
  3. ๐ŸŒฟ Create a branch - git checkout -b feature/AmazingFeature
  4. ๐Ÿ’พ Commit changes - git commit -m 'Add some AmazingFeature'
  5. ๐Ÿ“ค Push to branch - git push origin feature/AmazingFeature
  6. ๐Ÿ”„ Open a Pull Request - Let's discuss your changes!

๐ŸŽฏ Contribution Ideas

  • ๐Ÿ› Bug fixes
  • โœจ New features
  • ๐Ÿ“ Documentation improvements
  • ๐ŸŽจ UI/UX enhancements
  • โšก Performance optimizations
  • ๐Ÿงช Test coverage

๐Ÿ“ License

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

๐Ÿ™ Acknowledgments

  • ๐ŸŽฏ Inspired by tools like Nmap, Masscan, and Subfinder
  • ๐Ÿ Built with Python and the amazing open-source community
  • ๐Ÿ’ก Thanks to all contributors and users!

๐Ÿ“ง Support

Need help? Have questions? Found a bug?

GitHub Issues GitHub Discussions


โญ Star this repo if you find it useful!

Made with โค๏ธ for the security community

About

All-in-one CLI security scanner: port scanning, web security, subdomain enumeration, network monitoring. Multi-threaded, cross-platform.

Topics

cli-toolcybersecurityhacking-toolsnetsecnetwork-securityopen-sourcepenetration-testingport-scannerpythonsecurity

Resources

Readme
MIT license
Activity

Stars

232 stars

Watchers

0 watching

Forks

1 fork
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.