 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Fact: Staring at hex dumps makes your eyes go weird after a while. O_O
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I've just been reading
http://www.pkware.com/documents/casestudies/APPNOTE.TXT
which contains the specification of the file format used by PKZIP.
(Otherwise known as a "zip file".)
Jesus, this file format is so old and crufty! >_< Talk about lame...
Anyway, on line 554 we find the following:
compression method: (2 bytes)
(see accompanying documentation for algorithm
descriptions)
0 - The file is stored (no compression)
1 - The file is Shrunk
2 - The file is Reduced with compression factor 1
3 - The file is Reduced with compression factor 2
4 - The file is Reduced with compression factor 3
5 - The file is Reduced with compression factor 4
6 - The file is Imploded
7 - Reserved for Tokenizing compression algorithm
8 - The file is Deflated
9 - Enhanced Deflating using Deflate64(tm)
10 - PKWARE Data Compression Library Imploding (old IBM TERSE)
11 - Reserved by PKWARE
12 - File is compressed using BZIP2 algorithm
13 - Reserved by PKWARE
14 - LZMA (EFS)
15 - Reserved by PKWARE
16 - Reserved by PKWARE
17 - Reserved by PKWARE
18 - File is compressed using IBM TERSE (new)
19 - IBM LZ77 z Architecture (PFS)
97 - WavPack compressed data
98 - PPMd version I, Rev 1
It's not actually 100% clear whether these codes are decimal or
hexdecimal. But either way, I have a Zip file with nothing seems to be
able to read, and all the files are compressed with method 0x0063.
(That's 99 decimal.)
So I guess that's why nothing can read this Zip file then...
Man, spending a day staring at hex dumps is no fun at all! >_<
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> It's not actually 100% clear whether these codes are decimal or
> hexdecimal. But either way, I have a Zip file with nothing seems to be
> able to read, and all the files are compressed with method 0x0063.
> (That's 99 decimal.)
Did you try the latest version of WinZip?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 26 Aug 2009 15:10:30 +0200, Invisible <voi### [at] dev null> wrote:
> It's not actually 100% clear whether these codes are decimal or
> hexdecimal. But either way, I have a Zip file with nothing seems to be
> able to read, and all the files are compressed with method 0x0063.
> (That's 99 decimal.)
>
> So I guess that's why nothing can read this Zip file then...
GIYF
http://www.winzip.com/aes_info.htm
--
FE
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
scott wrote:
> Did you try the latest version of WinZip?
No - for the obvious reason that this would require money.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Fredrik Eriksson wrote:
>> all the files are compressed with method 0x0063.
>>
>> So I guess that's why nothing can read this Zip file then...
>
> GIYF
>
> http://www.winzip.com/aes_info.htm
Hmm, that also explains the 0x9901 extra record tag I keep seeing.
So it's just AES encrypted? I'm surprised 7zip can't handle that...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Invisible wrote:
> So it's just AES encrypted? I'm surprised 7zip can't handle that...
Well would you look at that? It seems I'm using the very last version of
7zip to *not* support AES encryption. *facepalm*
I used to check the 7zip website all the time, but after years of
seeming inactivity, I gave up looking for new versions... Apparently
development has started going forward again.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> Did you try the latest version of WinZip?
>
> No - for the obvious reason that this would require money.
...but apparently using the latest version of 7zip fixes the problem.
It's because the files are AES-256 encrypted. Go figure.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> Did you try the latest version of WinZip?
>
> No - for the obvious reason that this would require money.
No it doesn't:
http://www.winzip.com/downwz.htm
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
scott escreveu:
>> It's not actually 100% clear whether these codes are decimal or
>> hexdecimal. But either way, I have a Zip file with nothing seems to be
>> able to read, and all the files are compressed with method 0x0063.
>> (That's 99 decimal.)
>
> Did you try the latest version of WinZip?
You lamer! I was expecting this to make him post all day long about his
efforts to implement an unzipper in Haskell. :P
oh the fun...
--
a game sig: http://tinyurl.com/d3rxz9
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 26-8-2009 15:36, Invisible wrote:
> Invisible wrote:
>
>*facepalm*
what is the emoticon for that?
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> *facepalm*
>
> what is the emoticon for that?
E:-(
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On Wed, 26 Aug 2009 20:12:58 +0100, Orchid XP v8 wrote:
>>> *facepalm*
>>
>> what is the emoticon for that?
>
> E:-(
LOL, good one.
Jim
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Invisible schrieb:
> It's not actually 100% clear whether these codes are decimal or
> hexdecimal.
Given that the values 0 to 9 are directly followed by 10 to 19, I'd say
chances are it's perfectly decimal...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Invisible wrote:
> Invisible wrote:
>
>> So it's just AES encrypted? I'm surprised 7zip can't handle that...
>
> Well would you look at that? It seems I'm using the very last version of
> 7zip to *not* support AES encryption. *facepalm*
>
> I used to check the 7zip website all the time, but after years of
> seeming inactivity, I gave up looking for new versions... Apparently
> development has started going forward again.
FileHippo has a tool that sits in the tray and checks for updates to
installed software. Google has something similar, but just for their own
apps. Normally I would automatically categorize such a program as
spyware, but it is surprisingly unintrusive. It can be configured to
check automatically or manually only when you want it to, and the
results are loaded in a web page so you can compare your own version
number with the version number of the update. It also accurately detects
tons of software (including 7zip), and lists beta versions in a separate
list.
In Vista it can be annoying because it triggers UAC when it does its
checking.
-Mike
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
>> Did you try the latest version of WinZip?
>
> You lamer! I was expecting this to make him post all day long about his
> efforts to implement an unzipper in Haskell. :P
>
> oh the fun...
Well, I *did* implement a primitive hex dump program to allow me to read
the raw binary contents of the file, and also a second program capable
of locating the file chunks and parsing some of them in human-readable form.
But no, I didn't get as far as writing a DEFLATE decoder. :-P
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Invisible wrote:
> Well, I *did* implement a primitive hex dump program to allow me to read
> the raw binary contents of the file,
On Unix, use 'xxd' or 'od'.
> and also a second program capable
> of locating the file chunks and parsing some of them in human-readable
> form.
On Windows, get Hex Workshop (shareware). It even *comes* with a structure
file for zip archives.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> On Windows, get Hex Workshop (shareware). It even *comes* with a structure
> file for zip archives.
I've looked at several hex editors for Windows. All of them are either
shareware or just plain rubbish. I've yet to find a really good one.
--
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |