Have a pcap file you wish to re-transmit onto the wire? Here is a Python script and Docker image that help you do that.
pip install -r requriements.txt./pcap_player.py -hThe result will be to play the infile.pcap contents onto the network.
docker pull dmickels/pcap_player:latestdocker run --rm --net=host -v "<path and filename to pcap>":"/app/infile.pcap" dmickels/pcap_playerLet's say you have a PCAP file named "twinkie.pcap", and it is in the "/home/user/pcaps" directory.
The command would then be: docker run --rm --net=host -v "/home/user/twinkie.pcap":"/app/infile.pcap" dmickels/pcap_player
Content type
Image
Digest
Size
329.7 MB
Last updated
about 5 years ago
docker pull dmickels/pcap_player