Without further information you can't, because application/octet-stream is just a MIME type to encode data in several protocols. Unless the encoded data is already in pcap format, there is no way to create a meaningful pcap file from that data. Think about it yourself: • Should the encoded data be the payload of one/two/three packets? • If so, what protocol would you use for that packet (TCP/UDP/HTTP/Telnet)? ![]() • Which addresses would you use (IP, Ethernet, etc.) • etc. As you did not explain anything about the nature of your encoded data, the circumstances and the reason why you need to convert that data to a pcap file, nobody will be able to give a helpful/meaningful answer. Please consider to be more specific in your questions. It will help yourself and it will help others to help you. I suggest you add at least these things to your questions • Wireshark version • OS version • An exact description of what you want to do • Sample data • Expected result and possibly what you got instead, if you tried yourself • Any (error) messages of Wireshark and/or the OS, if there are any BTW: text2pcap accepts only data in the format defined in the following link Regards Kurt. ![]() And for pdf we able to see the actual file. For ms word file the content type is coming as application/octet-stream. Convert your stream to a mime object using createMimeData built in service, then get the content type from the. Free download mp3 stafa band. • meningkatkan sistem kekebalan tubuh • memfasilitasi penyembuhan alami. Convert Octet-stream To Pdf ConverterTools that I'm using for this: Chrome Notepad++ Sublime Text 3 Fiddler WinMerge Adobe Acrobat Reader X Synopsis I have downloaded a pdf twice, once through Chrome as an experimental control; once again through a raw /GET request via Fiddler which returns me an octet-stream. To this point, I can save the octet-stream as pdf and I can get the proper page count and some of the page headers and numbers, but very little of the body content is loading. Velaikaran 2017 songs. * Setelah selesai input biss key nya lalu akhiri dengan menekan tombol “Oke” untuk exit dan cling. Sw key 2017 tanaka t22 hd jurassic park. When I open my file in Adobe Reader X, I get an error that it Cannot extract the embedded font 'LFIDTH+ArialMT'. Some characters may not display or print correctly and I cannot work through why it can be extracted from the 'true' pdf but cannot from the one I am saving. Details As for my manual pull of the file, I have provided Accept: application/pdf, application/x-pdf, application/x-gzpdf, application/x-bzpdf The server sent me back an aplication/octet-stream with an attachment Disposition. So to recap: • Valid Foo.pdf sitting on my hard drive • HTTP Response with an octet-stream version of same file, in UTF-8 encoding (I assume) Here is what I know: I pulled the Message Body of the response from the server and dropped it to file. I then ran a WinMerge comparison of it against the contents of the pdf and every line mismatched on line endings. I re-encoded the EOLs for Unix and the diff shrank to ~1k lines out of 160k.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |