pcap2curl
pcap2curl copied to clipboard
Read a packet capture, extract HTTP requests and turn them into cURL commands for replay.
If the `Host` header is in lowercase, or there is a `X-Host` header present, the script fails. This PR fixes that.
Add port to argument list. My use case involves custom ports.
Hi Johannes, Raspberry Pi running Raspbian Jessie After installing, `scapy` is found in $PATH OK. Is `pcap2curl` or `pcap2curl.py` supposed to be found in $PATH? Here's what I've done so...
from scapy.layers.inet import IP, UDP, wrpcap, Ether