-
Notifications
You must be signed in to change notification settings - Fork 14
PCAP Import
tjnull edited this page Aug 11, 2026
·
1 revision
Leetha can import captured traffic from Wireshark, tcpdump, or any tool that produces .pcap, .pcapng, or .cap files. Imported packets flow through the full fingerprinting pipeline -- devices are identified, verdicts computed, and findings generated.
leetha import capture.pcap
leetha import scan1.pcap scan2.pcapng
leetha import --max-size 1000 large-capture.pcap| Flag | Default | Description |
|---|---|---|
--max-size |
500 | Maximum file size in MB |
Importing: capture.pcap
capture.pcap ━━━━━━━━━━━━ 12847/12847 packets 0:00:03
+---------------------------+-------+
| Metric | Value |
+---------------------------+-------+
| Packets parsed | 12847 |
| Devices processed | 12847 |
| Total packets | 12847 |
| Parse errors | 0 |
+---------------------------+-------+
42 devices now in inventory
- Navigate to the Console page
- Click Import PCAP or drag-and-drop a file
- Progress is shown in real time via WebSocket
- Devices appear in the inventory as they are processed
Imported packets go through the same pipeline as live capture:
- Protocol parsers (ARP, DHCP, mDNS, TLS, HTTP, LLDP, etc.)
- Fingerprint database lookups (OUI, Huginn, p0f, JA3/JA4)
- Evidence fusion and verdict computation
- Finding rule evaluation
- Identity correlation
-
.pcap-- libpcap format -
.pcapng-- next-generation capture format -
.cap-- alternative pcap extension