Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/healer-pro-pack / scripts/capture_packet_dump.sh |
| Date | Not specified in source |
| Repository | Janady13/healer-pro-pack |
| Revision | 8cd241e17bd004fdbdc1ee5e9913e45304671553 |
| Branch | main |
| Path or archive member | scripts/capture_packet_dump.sh |
| Original SHA-256 | a53b091dac72eaac1bbe8b8d80707c8d559bf3302d36b99f4cc95ba18479ae1b |
| Git blob SHA | d76c1e9522578dbb11817f1713adfc9f4940e24a |
| Reading-copy SHA-256 | a53b091dac72eaac1bbe8b8d80707c8d559bf3302d36b99f4cc95ba18479ae1b |
Recovered source transcript
Download complete source text ↓9 lines · 0.3 KB
#!/bin/bash
set -euo pipefail
OUT="${1:-$HOME/Desktop/AI_Brain/logs/network_capture.pcap}"
IFACE="${2:-en0}"
DUR="${3:-30}"
echo "📦 Capturing $DUR s of packets on $IFACE to $OUT (sudo required)..."
sudo tcpdump -i "$IFACE" -s 0 -G "$DUR" -W 1 -w "$OUT"
echo "✅ Capture saved to $OUT"