Files
rust_bifrost/utils/pcap-extract-zigbee.sh
Beyhan Oğur 427856cd3a first commit
2026-04-26 22:29:38 +03:00

13 lines
217 B
Bash
Executable File

#!/bin/sh
BASEDIR="$(realpath -- $(dirname $0))"
if [ $# -lt 1 ]; then
echo "usage: $0 <input.pcap>"
exit 1
fi
for name in "$@"; do
tshark -r "${name}" -lq -T ek -x | "${BASEDIR}"/filter-zigbee.jq
done