A Modified version of USTC-TK2016 Tools
- For Windows only
If you are using PcapNG (.pcapng
) Files
Sometimes pcapng will also shown as
.pcap
file.
editcap
program is available from Wireshark.- Usage of editcap
editcap -F libpcap dump.pcapng dump.pcap
- Please see How To handle PcapNG files for more detail.
SplitCap
: https://www.netresec.com/?page=SplitCapfinddupe
: https://www.sentex.ca/~mwandel/finddupe/
set-ExecutionPolicy RemoteSigned
Split Pcap files into Flows
.\1_Pcap2Flow.ps1
python .\2_Flow2Packet.py
usage: 2_Flow2Packet.py [-h] --packet PACKET --byte BYTE [--limit LIMIT]
Selecting Parameter of Packets and Bytes.
optional arguments:
-h, --help show this help message and exit
--packet PACKET number of required packets
--byte BYTE number of trimmed byte
--limit LIMIT only extract packets from the largest N flows
python .\3_Packet2Image.py