🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by toylet Wed, 21 Apr 2004 15:24
encoded attachment filenames
#69020
Author: toylet
Date: Wed, 21 Apr 2004 15:24
17 lines
1619 bytes
Is there a tool that could decode file names like this?
uudeview could extract the file, couldn't decode the "name=" into 8-bit 
characters directly. ANd does it have a magic option to do it?

------=_NextPart_000_000E_01C41CF6.07BD3730
Content-Type: image/jpeg;
         name="=?big5?B?rPWop6Rkpn4uanBn?="
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
         filename="=?big5?B?rPWop6Rkpn4uanBn?="


-- 
   .~.    Might, Courage, Vision. In Linux We Trust.
  / v \   http://www.linux-sxs.org
/( _ )\  Linux 2.4.22-xfs
   ^ ^    11:20pm up 2 days 3:35 load average: 1.57 1.59 1.39
Re: encoded attachment filenames
#69048
Author: Dr.Ruud
Date: Fri, 23 Apr 2004 21:17
49 lines
2299 bytes
Toen ik toylet kietelde, kwam er dit uit:

> Is there a tool that could decode file names like this?
> uudeview could extract the file, couldn't decode the "name=" into 8-bit
> characters directly. ANd does it have a magic option to do it?
>
> ------=_NextPart_000_000E_01C41CF6.07BD3730
> Content-Type: image/jpeg;
>          name="=?big5?B?rPWop6Rkpn4uanBn?="
> Content-Transfer-Encoding: base64
> Content-Disposition: attachment;
>          filename="=?big5?B?rPWop6Rkpn4uanBn?="

A jpeg in big5-encoding: will the skin color and the shape of the eyes
be changed while decoding? <g>

If you are really interested in the original byte-codes of the file name,
you could use my 'just procmail' approach:
http://www.xs4all.nl/~rvtol/procmail/
(see inc\b64.inc and inc\b64.inc.inc)


test.rc:
  VERBOSE   = no
  DEFAULT   = /dev/null
  NL        = "
"  # yes, an embedded LF

  b64_Input = "rPWop6Rkpn4uanBn"
  INCLUDERC = $HOME/rcdir/inc/b64.inc
  LOG       = "$b64_Return$NL"


command:
  procmail ./test.rc < /dev/null


output:
  <172><245><168><167><164><100><166><126><46><106><112><103>


-- 
Affijn, Ruud   `  -  �
               + ` � *
                 � `
               �  =  `


Re: encoded attachment filenames
#69049
Author: Jesper Harder
Date: Sat, 24 Apr 2004 00:50
26 lines
2299 bytes
"Dr.Ruud" <'t.leven.is.fijn@life.i$.great> writes:

> Toen ik toylet kietelde, kwam er dit uit:
>
>> Is there a tool that could decode file names like this?
>> uudeview could extract the file, couldn't decode the "name=" into 8-bit
>> characters directly. ANd does it have a magic option to do it?
>>
>> ------=_NextPart_000_000E_01C41CF6.07BD3730
>> Content-Type: image/jpeg;
>>          name="=?big5?B?rPWop6Rkpn4uanBn?="
>> Content-Transfer-Encoding: base64
>> Content-Disposition: attachment;
>>          filename="=?big5?B?rPWop6Rkpn4uanBn?="
>
> A jpeg in big5-encoding: will the skin color and the shape of the eyes
> be changed while decoding? <g>

Note that whatever application generated this garbage is broken.  MIME
parameter values must not use RFC 2047 encodings -- it should've been
encoded according to RFC 2231, i.e.

     name*=big5''%ac%f5%a8%a7%a4d%a6~.jpg

-- 
Jesper Harder                                <http://purl.org/harder/>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads