Philosophy: Simple β’ Practical β’ Reliable
A lightweight command-line network packet auditing tool built with Python and Scapy. It captures live network traffic and displays concise, human-readable metadata in real time.
Bare-Bones Packet Auditor is designed for developers, students, and security enthusiasts who need a minimal yet effective way to observe network traffic.
It prioritizes:
No unnecessary complexity β just useful output.
```bash id=β5u6k7eβ pip install packet-auditor
---
### Option 2: Clone and run manually
```bash id="mjv8y7"
git clone https://github.com/foxhackerzdevs/packet-auditor.git
cd packet-auditor
pip install .
β οΈ Root/Admin privileges are required for packet sniffing.
```bash id=β7gf5obβ sudo packet-audit
---
### Windows
Run PowerShell or CMD as Administrator:
```powershell id="v6a8oc"
packet-audit
| Option | Description |
|---|---|
-i, --iface |
Network interface to sniff on (default: system default interface) |
-f, --filter |
BPF filter string (e.g., "tcp port 443") |
-o, --output |
Save output to a log file |
-q, --quiet |
Disable terminal packet output |
-l, --list-interfaces |
List available interfaces and exit |
--version |
Display tool version |
store=0, no memory buildup)Defined in pyproject.toml:
scapy >= 2.5.0No configuration file required. Everything is controlled via CLI arguments.
```text id=βdqu8wpβ [HH:MM:SS] #COUNT SOURCE_IP -> DESTINATION_IP | PROTOCOL INFO | SIZE bytes
### Example
```text id="onm4ns"
[22:39:44] #42 10.247.195.51 -> 20.189.173.2 | TCP 55679->443 [PA] | 498 bytes
```bash id=βhk3dmcβ
sudo packet-audit
sudo packet-audit -i eth0
sudo packet-audit -f βtcp port 80β
sudo packet-audit -o packets.log
sudo packet-audit -q -o packets.log
sudo packet-audit -i wlan0 -f βhost 8.8.8.8β -o log.txt
packet-audit -l
---
## π οΈ Troubleshooting
### β Permission Denied
Linux/macOS:
```bash id="kj1q8m"
sudo packet-audit
Windows:
bash id="b1w9fz"
packet-audit -l
Possible causes:
Packet sniffing is not supported on Android due to OS limitations in Scapy.
Use Linux, macOS, or Windows instead.
Install Npcap:
During installation, enable:
This project is licensed under the MIT License.
If a tool needs a long manual, itβs already too complex.