Daniel Yuk-Pong, CHENG wrote...

> `file` misrecongize the library.zip from dropbox package as ELF file:
> 
> $ file /usr/lib/dropbox/library.zip
> /usr/lib/dropbox/library.zip: ELF 32-bit LSB executable, Intel 80386, version 
> 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped

snapshot.debian.org is partially down at the moment so I had to fetch
library.zip from a different source.

Big surprise: This looks a lot like an ELF executable:

$ md5sum library.zip 
515f777ed2eff186fb7f63ff489979d0  library.zip

$ file library.zip 
library.zip: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically 
linked (uses shared libs), for GNU/Linux 2.6.8, stripped

$ hd library.zip
00000000  7f 45 4c 46 02 01 01 00  00 00 00 00 00 00 00 00  |.ELF............|
00000010  02 00 3e 00 01 00 00 00  20 3c 41 00 00 00 00 00  |..>..... <A.....|
(...)
00000200  2f 6c 69 62 36 34 2f 6c  64 2d 6c 69 6e 75 78 2d  |/lib64/ld-linux-|
00000210  78 38 36 2d 36 34 2e 73  6f 2e 32 00 04 00 00 00  |x86-64.so.2.....|
00000220  10 00 00 00 01 00 00 00  47 4e 55 00 00 00 00 00  |........GNU.....|
(...)


Also the actual code looks sane. So I'm guessing this is a
self-extracting executable. Never saw that in Linux before. Will have
to check, and the wishlist bug against file was to identfy that kind
of file.

    Christoph

Attachment: signature.asc
Description: Digital signature

Reply via email to