Files
cheatsheet-tldr/tldr/sc_warts2pcap
2024-03-15 00:13:13 +00:00

19 lines
612 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# sc_warts2pcap
> Write packets included in `warts` object to a PCAP file.
> This is only possible for tbit, sting and sniff.
> More information: <https://www.caida.org/catalog/software/scamper/>.
- Convert the data from several `warts` files into one PCAP file:
`sc_warts2pcap -o {{path/to/output.pcap}} {{path/to/file1.warts path/to/file2.warts ...}}`
- Convert the data from a `warts` file into a PCAP file and sort the packets by timestamp:
`sc_warts2pcap -s -o {{path/to/output.pcap}} {{path/to/file.warts}}`