How to extract multiple MIME/base64 inline parts from a *.txt file ?
I have got a *.txt file with lots of (independent) MIME (I think) chunks inside.
They are separated by delimiters like (see bottom of this message). Originally this file is derived from an unsuccessful delivered/modified eMail. Is there a tool which helps me to extract the hex encoded pictures (and possible other attachments e.g. *.pdfs) from this file? I would appreciate a fault tolerant (if the text file is not complete) utility onto which I can drag the *.txt file and which automatically recognizes all MIME chunks inside. Tobias Sample.txt: ...... --part1_237.e64e06c.322ecc0f_rel_boundary Content-ID: X.MA1.3246326326@yahoo@com Content-Type: image/jpeg; name="ÈçîáðàdDGFDD53.jpg" Content-Disposition: inline Content-Transfer-Encoding: base64 /9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAUDBAQEAwUKFGGH7648BwwIBwcHBw8LCwkMEQ8S EhEPERETFhwXExQaFRERGCEYGh0dHx8fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEU Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh 4eHh4eHh4eHh4eHh7/wAAR .... --part1_237.e64e06c.322ecc0f_rel_boundary Content-ID: X.MA2.3246326326@yahoo@com Content-Type: image/jpeg; name="ZZZ.jpg" Content-Disposition: inline Content-Transfer-Encoding: base64 /9j/4AAQ3247652GHJFGHFABAAD/2wBDAAUDBAQEAwUEBAQFBQUGBwwIBwcHBw8LCwkMEQ8S EhEPERETFhwXExQaFRERGC324632628fExciJCIeJBweHx7/2wBDAQUFBQcGBw4ICA4eFBEU Hh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh 4eHh4eHh4eHh4eHh7/wAAR CAFoAeADASIAAhEBAxEB/8QAHwAAAQ253754274284842AAAAAECAwQFBgcICQoL/8QAtRAA AgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBka EII0KxwRVS0fAkM2J ...... --part1_237.e64e06c.322ecc0f_rel_boundary-- |
All times are GMT +1. The time now is 06:50 AM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com