https://github.com/vikingfacer/cappy
cappy the crappy network capture
https://github.com/vikingfacer/cappy
network packet-capture packet-sniffer pcap zig
Last synced: 13 days ago
JSON representation
cappy the crappy network capture
- Host: GitHub
- URL: https://github.com/vikingfacer/cappy
- Owner: vikingfacer
- License: mit
- Created: 2025-03-26T02:40:54.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2026-01-01T05:44:26.000Z (6 months ago)
- Last Synced: 2026-01-06T00:13:50.776Z (6 months ago)
- Topics: network, packet-capture, packet-sniffer, pcap, zig
- Language: Zig
- Homepage:
- Size: 198 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Cappy _the crappy network capture_


Cappy is 🚧 (WORK IN PROGRESS)
Cappy is a network capture project. The goal is to create something that can
(crappily) filter / capture network traffic and also allow the user to load pcap programs
The cappy arguments
* list of devices is display (or not)
* -l _or_ --list: list devices
* device or file is opened
* -d _or_ --device: open device
* -i _or_ --input: open file
* _These are mutual exclusive_
* but if neither are given the "any" device is used
* program dispatched or output packet capture
* -p _or_ --program: dispatch program on open capture (or display packets)
* _This takes a special format argument_ library:function
* Output capture to file
* -o _or_ --output: file capture is saved to
* filter capture traffic
* positional arguments using the tcpdump filter spec
```
cappy -l
-[d|i] [device|lookatthiscap.pcap]
-p libCap.so:TheCappestFunction
-o whatthecap.pcap
proto == tcp`
```