public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] JPG attachments - Macintosh BinHex-encoded file
@ 2006-01-05 15:18 Mark Knecht
  2006-01-05 17:29 ` [gentoo-user] " Peper
  2006-01-05 17:38 ` [gentoo-user] " Willie Wong
  0 siblings, 2 replies; 4+ messages in thread
From: Mark Knecht @ 2006-01-05 15:18 UTC (permalink / raw
  To: gentoo-user

Hi,
   I'm in Gnome and received what appear to be some JPG files from a
friend. When I try to open them I get the following message:


The filename "DSCN2448.JPG" indicates that this file is of type "JPEG
image". The contents of the file indicate that the file is of type
"Macintosh BinHex-encoded file". If you open this file, the file might
present a security risk to your system.

Do not open the file unless you created the file yourself, or received
the file from a trusted source. To open the file, rename the file to
the correct extension for "Macintosh BinHex-encoded file", then open
the file normally. Alternatively, use the Open With menu to choose a
specific application for the file.


   Is this is some new virus or is there some setup that needs to be
done to be able to look at them?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-user] Re: JPG attachments - Macintosh BinHex-encoded file
  2006-01-05 15:18 [gentoo-user] JPG attachments - Macintosh BinHex-encoded file Mark Knecht
@ 2006-01-05 17:29 ` Peper
  2006-01-05 17:38 ` [gentoo-user] " Willie Wong
  1 sibling, 0 replies; 4+ messages in thread
From: Peper @ 2006-01-05 17:29 UTC (permalink / raw
  To: gentoo-user

>    Is this is some new virus or is there some setup that needs to be
> done to be able to look at them?
If it's a virus i'm pretty sure it's a windows' one. I would try to force 
opening it with some image viewer...

-- 
Best Regards,
Peper
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] JPG attachments - Macintosh BinHex-encoded file
  2006-01-05 15:18 [gentoo-user] JPG attachments - Macintosh BinHex-encoded file Mark Knecht
  2006-01-05 17:29 ` [gentoo-user] " Peper
@ 2006-01-05 17:38 ` Willie Wong
  2006-01-05 19:26   ` Mark Knecht
  1 sibling, 1 reply; 4+ messages in thread
From: Willie Wong @ 2006-01-05 17:38 UTC (permalink / raw
  To: gentoo-user

On Thu, Jan 05, 2006 at 07:18:39AM -0800, Penguin Lover Mark Knecht squawked:
> Hi,
>    I'm in Gnome and received what appear to be some JPG files from a
> friend. When I try to open them I get the following message:
> 
> 
> The filename "DSCN2448.JPG" indicates that this file is of type "JPEG
> image". The contents of the file indicate that the file is of type
> "Macintosh BinHex-encoded file". If you open this file, the file might
> present a security risk to your system.
> 
> Do not open the file unless you created the file yourself, or received
> the file from a trusted source. To open the file, rename the file to
> the correct extension for "Macintosh BinHex-encoded file", then open
> the file normally. Alternatively, use the Open With menu to choose a
> specific application for the file.
> 

I think that is just the standard error Gnome throws up with the
extension on the file does not match the header. 

Does your friend perhaps use a Mac? the BinHex format is a conversion
from binary data to ASCII for mail. It's like uuencode, but for Macs. 

Try:
  emerge macutil

You probably want to run hexbin on the file you received, but I am not
absolutely sure. 

HTH

W
-- 
"As he came into the light they could see his black and 
gold uniform on which the buttons were so highly polished 
that they shone with an intensity that would have made an 
approaching motorist flash his lights in annoyance. " 
Sortir en Pantoufles: up 54 days,  9:51
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] JPG attachments - Macintosh BinHex-encoded file
  2006-01-05 17:38 ` [gentoo-user] " Willie Wong
@ 2006-01-05 19:26   ` Mark Knecht
  0 siblings, 0 replies; 4+ messages in thread
From: Mark Knecht @ 2006-01-05 19:26 UTC (permalink / raw
  To: gentoo-user

On 1/5/06, Willie Wong <wwong@princeton.edu> wrote:
> On Thu, Jan 05, 2006 at 07:18:39AM -0800, Penguin Lover Mark Knecht squawked:
> > Hi,
> >    I'm in Gnome and received what appear to be some JPG files from a
> > friend. When I try to open them I get the following message:
> >
> >
> > The filename "DSCN2448.JPG" indicates that this file is of type "JPEG
> > image". The contents of the file indicate that the file is of type
> > "Macintosh BinHex-encoded file". If you open this file, the file might
> > present a security risk to your system.
> >
> > Do not open the file unless you created the file yourself, or received
> > the file from a trusted source. To open the file, rename the file to
> > the correct extension for "Macintosh BinHex-encoded file", then open
> > the file normally. Alternatively, use the Open With menu to choose a
> > specific application for the file.
> >
>
> I think that is just the standard error Gnome throws up with the
> extension on the file does not match the header.
>
> Does your friend perhaps use a Mac? the BinHex format is a conversion
> from binary data to ASCII for mail. It's like uuencode, but for Macs.
>
> Try:
>   emerge macutil
>
> You probably want to run hexbin on the file you received, but I am not
> absolutely sure.
>
> HTH
>
> W
> --
> "As he came into the light they could see his black and
> gold uniform on which the buttons were so highly polished
> that they shone with an intensity that would have made an
> approaching motorist flash his lights in annoyance. "
> Sortir en Pantoufles: up 54 days,  9:51
> --
> gentoo-user@gentoo.org mailing list
>
>

Thanks for the reposnses guys! GMail does do a virus check and doesn't
see anything so probably it isn't that problem. Also I fired up my Mac
Mini as well as my last Win XP machine. Neither of them can display
the files so most likely they are hosed somehow.

I emerged macutil and see these executables get installed:

>>> /usr/bin/binhex
>>> /usr/bin/macstream
>>> /usr/bin/frommac
>>> /usr/bin/macsave
>>> /usr/bin/hexbin
>>> /usr/bin/tomac
>>> /usr/bin/macunpack

binhex tells me it's not a Mac binary. frommac just hangs and I have to kill it.

hexedit show this in the header:
00000000   28 54 68 69  73 20 66 69  6C 65 20 6D  75 73 74 20  (This file must
00000010   62 65 20 63  6F 6E 76 65  72 74 65 64  20 77 69 74  be converted wit
00000020   68 20 42 69  6E 48 65 78  20 34 2E 30  29 0A 3A 24  h BinHex 4.0).:$
00000030   4E 34 36 33  64 69 62 30  24 33 69 2C  4E 54 33 34  N463dib0$3i,NT34
00000040   62 21 65 21  25 54 33 34  38 47 5B 43  66 61 50 21  b!e!%T348G[CfaP!
00000050   2A 21 24 23  50 59 5B 21  21 21 22 28  55 5B 35 72  *!$#PY[!!!"(U[5r
00000060   70 4D 72 69  33 40 31 34  41 4B 54 43  4A 21 0A 21  pMri3@14AKTCJ!.!
00000070   35 38 4E 55  21 21 4A 21  4E 21 2D 2C  21 21 69 22  58NU!!J!N!-,!!i"

It seems that the macutil app binhex would have been a reasonable
choice but it doesn't seem to work.

Any more ideas?

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-01-05 19:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-05 15:18 [gentoo-user] JPG attachments - Macintosh BinHex-encoded file Mark Knecht
2006-01-05 17:29 ` [gentoo-user] " Peper
2006-01-05 17:38 ` [gentoo-user] " Willie Wong
2006-01-05 19:26   ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox