I have a packet dump of an ISO file being sent over an HTTP request, and I would like to reconstruct the actual image. I am familiar with the Net::Pcap and NetPacket::* modules and have used them for extracting other statistical data from the stream, but there is no readily apparent way to take the TCP conversation that I have and translate it into the resultant file as it would have been reassambled on the end host. Are there any good libraries for accomplishing this task?
Update: I managed to successfully extract the HTTP conversation using tcpflow, and then to extract the ISO from that by writing a simple Perl script to strip off the leading headers. The recovered ISO seems to be good. Thanks to kvale for the tip.
In reply to Reconstructing a file from a packet dump by skyknight
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |