Live data from Hacker News

Repairing Corrupted ZIP Files by Brute Force Scanning in C

blog.zx2c4.com

21–28 of 28 posts

Re: Repairing Corrupted ZIP Files by Brute Force Scanning in C

#21
post #17

Earlier quoted context omitted.

Would you post a screenshot of the blunder, please?

http://i.imgur.com/wU8df.png And here I was thinking it was just me... EDIT: It's that 'LM Roman' font. Remove it and it will be fixed.

Hmmm so it doesn't render right on some browsers. Okay. I will fix this.

I really like Latin Modern/Computer Modern, just when it all goes to plan.

http://en.wikipedia.org/wiki/Computer_Modern

Re: Repairing Corrupted ZIP Files by Brute Force Scanning in C

#22
post #11

Earlier quoted context omitted.

Just install the readbility firefox addon or go to: https://www.readability.com/read?url=http://blog.zx2c4.com/6...

He said Chrome, so a Firefox addon won't do him much good.

It looks bad on Firefox too. I also gave a link which works on any browser, and that includes Chrome.

Re: Repairing Corrupted ZIP Files by Brute Force Scanning in C

#23
post #15

I'm surprised that zip -FF wouldn't work. Sounds like it needs your patch, although it looks from the InfoZip source that the fix functionality is spread throughout the zip parsing code rather than isolated into a small routine like this one. What would be interesting is a utility that could fix archives uploaded via FTP with ASCII mode accidentally turned on. This page claims to have a method: http://bukys.com/servi…

This must be a problem that a lot of hackers have solved, as I've written about how to solve that same problem in my (unpublished) idea archive.

Re: Repairing Corrupted ZIP Files by Brute Force Scanning in C

#25
post #7

I'mn afraid your blog post is almost completely unreadable in Chrome and Opera on Windows 7.

Same with Firefox on XP. Even though the article is very interesting, trying to read the very thin font hurts my eyes and I had to stop reading.

Re: Repairing Corrupted ZIP Files by Brute Force Scanning in C

#26
post #21

Earlier quoted context omitted.

http://i.imgur.com/wU8df.png And here I was thinking it was just me... EDIT: It's that 'LM Roman' font. Remove it and it will be fixed.

Hmmm so it doesn't render right on some browsers. Okay. I will fix this. I really like Latin Modern/Computer Modern, just when it all goes to plan. http://en.wikipedia.org/wiki/Computer_Modern

I've always found that font to be pretty terrible and makes Latex docs look less professional, but I guess if you are used to it from reading papers, it's the opposite.

Re: Repairing Corrupted ZIP Files by Brute Force Scanning in C

#28
post #24

How is this different from what PKZIPFIX.EXE does?

The original author responded to my comment above with the link http://blog.zx2c4.com/605#comment-5889, which is to a comment that claims that PKZIPFIX does the same thing. Unfortunately it's been [dead]ed.
Post reply on HN