Ant wrote:
On 3/28/2013 5:29 AM PT, Jim Taylor typed:

SNIP

I don't know where to get dump and head commands for my very old,
updated Windows XP Pro. SP3 machine. However, I can see the texts in
mine that I left in for the decoding in its beginning:

9j/4S32RXhpZgAATU0AKgAAAAgACwEPAAIAAAAGAAAAkgEQAAIAAAAKAAAAmAESAAMAAAABAAEA
AAEaAAUAAAABAAAAogEbAAUAAAABAAAAqgEoAAMAAAABAAIAAAExAAIAAAAGAAAAsgEyAAIAAAAU
AAAAuAITAAMAAAABAAEAAIdpAAQAAAABAAAAzIglAAQAAAABAAACUgAAAxxBcHBsZQBpUGhvbmUg
NFMAAAAASAAAAAEAAABIAAAAATYuMS4yADIwMTM6MDM6MjQgMjA6MzQ6MzgAABiCmgAFAAAAAQAA
AfKCnQAFAAAAAQAAAfqIIgADAAAAAQACAACIJwADAAAAAQKAAACQAAAHAAAABDAyMjGQAwACAAAA...


OK, lets start over. The text you pasted above should start with a / to be a valid base64 encoded jpg file. Assuming it really has it and you missed it when you pasted here:

/9j/4S32RXhpZgAATU0AKgAAAAgACwEPAAIAAAAGAAAAkgEQAAIAAAAKAAAAmAESAAMAAAABAAEA
AAEaAAUAAAABAAAAogEbAAUAAAABAAAAqgEoAAMAAAABAAIAAAExAAIAAAAGAAAAsgEyAAIAAAAU
AAAAuAITAAMAAAABAAEAAIdpAAQAAAABAAAAzIglAAQAAAABAAACUgAAAxxBcHBsZQBpUGhvbmUg
NFMAAAAASAAAAAEAAABIAAAAATYuMS4yADIwMTM6MDM6MjQgMjA6MzQ6MzgAABiCmgAFAAAAAQAA
AfKCnQAFAAAAAQAAAfqIIgADAAAAAQACAACIJwADAAAAAQKAAACQAAAHAAAABDAyMjGQAwACAAAA

base64 decodes to:

00000000  ffd8 ffe1 2df6 4578 6966 0000 4d4d 002a .X.a-vExif..MM.*
00000010  0000 0008 000b 010f 0002 0000 0006 0000 ................
00000020  0092 0110 0002 0000 000a 0000 0098 0112 ................
00000030  0003 0000 0001 0001 0000 011a 0005 0000 ................
00000040  0001 0000 00a2 011b 0005 0000 0001 0000 ....."..........
00000050  00aa 0128 0003 0000 0001 0002 0000 0131 .*.(...........1
00000060  0002 0000 0006 0000 00b2 0132 0002 0000 .........2.2....
00000070  0014 0000 00b8 0213 0003 0000 0001 0001 .....8..........
00000080  0000 8769 0004 0000 0001 0000 00cc 8825 ...i.........L.%
00000090  0004 0000 0001 0000 0252 0000 031c 4170 .........R....Ap
000000a0  706c 6500 6950 686f 6e65 2034 5300 0000 ple.iPhone 4S...
000000b0  0048 0000 0001 0000 0048 0000 0001 362e .H.......H....6.
000000c0  312e 3200 3230 3133 3a30 333a 3234 2032 1.2.2013:03:24 2
000000d0  303a 3334 3a33 3800 0018 829a 0005 0000 0:34:38.........
000000e0  0001 0000 01f2 829d 0005 0000 0001 0000 .....r..........
000000f0  01fa 8822 0003 0000 0001 0002 0000 8827 .z."...........'
00000100  0003 0000 0001 0280 0000 9000 0007 0000 ................
00000110  0004 3032 3231 9003 0002 0000 00        ..0221.......

Which appears to be a valid exif formated jpg taken with an Apple iphone 4s.

If you take the original text file attachment and copy it to a file named somefile.txt. Edit somefile.txt to remove all the text before the /9j/4S32R and remove everything at the end starting with --Apple-Mail-ABD6ED3D-0515-4E05-BC44-0EC8E2F9C77B. Run somefile.txt through a base64 decoder (telling it to ignore bad characters) to produce a decoded file named somefile.jpg:

base64 -di somefile.txt somefile.jpg

You should end up with a jpg file that can be viewed with SeaMonkey or any other program capable of viewing a jpg. If that doesn't work I have no further suggestions.



I can't even decode yet. :P



base64 -di infile.txt outfile.jpg

$ base64 -di encoded.txt decoded.jpg
base64: extra operand `encoded.txt'
Try `base64 --help' for more information.


SNIP

--
Jim

_______________________________________________
support-seamonkey mailing list
support-seamonkey@lists.mozilla.org
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to