Skip to content

redX000/NetSpectre

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ‘» NetSpectre

Python License Platform

Network Packet Sniffer & Analyzer β€” Capture and analyze network traffic using raw sockets. Zero dependencies.

πŸ”₯ Features

  • πŸ“‘ Raw Socket Capture β€” Direct packet capture without libpcap
  • πŸ” Protocol Parsing β€” Ethernet, IPv4, TCP, UDP, ICMP, ARP
  • 🎨 Color-coded Live Output β€” Real-time packet display with protocol highlighting
  • 🎯 Flexible Filtering β€” By protocol, port, or IP address
  • πŸ“Š Statistics Dashboard β€” Protocol distribution, unique IPs, traffic volume
  • 🏴 TCP Flag Analysis β€” SYN, ACK, FIN, RST, PSH, URG detection
  • πŸ’Ύ JSON Export β€” Full packet capture export for analysis
  • 🚫 Zero Dependencies β€” Pure Python using raw sockets

πŸš€ Usage

```bash

Capture all traffic (requires root)

sudo netspectre

Specific interface, 100 packets

sudo netspectre -i eth0 -c 100

Filter by protocol

sudo netspectre -p tcp sudo netspectre -p udp sudo netspectre -p arp

Filter by port or IP

sudo netspectre --port 443 sudo netspectre --ip 192.168.1.1

Export to JSON

sudo netspectre -c 50 -o capture.json ```

⚠️ Disclaimer

For authorized network monitoring only. Unauthorized packet capture may be illegal. The author is not responsible for misuse.

πŸ“„ License

MIT β€” @redX000

About

πŸ‘» Network Packet Sniffer & Analyzer β€” Raw socket capture with protocol parsing and live display

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages