mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-28 12:33:47 +08:00
14 lines
287 B
Bash
14 lines
287 B
Bash
#!/bin/sh
|
|
|
|
uudecode 02-sunrise-sunset-esp.puu
|
|
|
|
echo -n test esp1...
|
|
../tcpdump -t -n -E "0x12345678@192.1.2.45 3des-cbc-hmac96:0x4043434545464649494a4a4c4c4f4f515152525454575758" -r 02-sunrise-sunset-esp.pcap >esp1.new
|
|
if diff esp1.new esp1.out
|
|
then
|
|
echo passed.
|
|
else
|
|
echo failed.
|
|
fi
|
|
|