Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ben174
on July 6, 2017
|
parent
|
context
|
favorite
| on:
Defending a website with Zip bombs
Thank you. I was going crazy trying to think of what the contents of that 42 bytes would have been.
rootlocus
on July 6, 2017
[–]
Without any headers, metadata or padding and using RLE one byte for 0 and 8 bytes for the number of zeroes: 10^15 will easily fit 9 bytes and can be used to generate a file filled with one petabyte of zeroes.
gberger
on July 6, 2017
|
parent
[–]
Well, yes, but that's not ZIP encoding.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: