How aryannehe/swiper-network-packet-analyzer works
SWIPER is a desktop network packet analyzer. The operator starts or stops capture from its terminal-style UI; a background thread runs Scapy sniffing, the callback classifies IP packets and formats endpoints and optional hex payload, then schedules log output on the UI thread. The same UI provides boot output and console reset. The README documents these capabilities; the sole source file is excerpted, so component boundaries are logical responsibilities within that file, not separate modules.
Main entry points: task_5.py Terminal and controls
Components 8
Terminal interface
- SWIPER application
task_5.py - Terminal and controls
task_5.py - Console output and reset
task_5.py
Packet capture
- Capture control
task_5.py - Scapy sniffer
task_5.py - Packet classification
task_5.py
Other components
- Operator
- Network traffic
Connections 9
- Operator → Terminal and controls: uses controls
task_5.py - SWIPER application → Terminal and controls: builds interface
task_5.py - Terminal and controls → Capture control: starts or stops
task_5.py - Capture control → Scapy sniffer: starts thread
task_5.py - Scapy sniffer → Network traffic: captures packets
task_5.py - Scapy sniffer → Packet classification: calls callback
task_5.py - Packet classification → Console output and reset: schedules packet log
task_5.py - Capture control → Console output and reset: logs state
task_5.py - Terminal and controls → Console output and reset: resets buffer
task_5.py