通过三篇文章,介绍通过wireshark修改pcap数据包的方法。
2409:8053:5003:1603:3ff::24------>2409:8053:5003:1603:3ff::28
原始包如下
1. tshark工具将pcap转存成16进制数text格式文件
“C:\Program Files\Wireshark\wireshark370\Wireshark\tshark.exe” -r pcf-1.pcap -x -T text -t ad -P > test-1.txt
-t ad //设置导出的时间格式。
-T //Set the format of the output when viewing decoded packet data
-x //Cause TShark to print a hex and ASCII dump of the packet data after printing