first commit
This commit is contained in:
12
utils/pcap-extract-zigbee.sh
Executable file
12
utils/pcap-extract-zigbee.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user