Lurker News
I wrote this silly thing a couple of weeks ago. It's absolutely useless but it's a fun tech demo for my web server library. Enjoy!

Comments (181) 65 threads

Earlier comments
giuliomagnifico#
This is very cool, thanks for sharing!
meiraleal#
It is not useless, it is very cool. But the website is hosted at HN server, not in the URL.
lagniappe2 replies#
how does it react to a zip bomb?
whoomp123422 replies#
2000 bytes limit
DriverDaily1 reply#
Plenty of room for a recursive function with no base case
grepfru_it5 replies#
You're not getting very far on 2k bytes. A 10k file expands to 10MB and will likely timeout if the author's webhost configured proper limits

Continue this thread — 5 replies

pcthrowaway#
Which is enough to store any content (unzipped it just needs to contain a link to the next chunk)
pmarreck#
"Compression bombs that use the zip format must cope with the fact that DEFLATE, the compression algorithm most commonly supported by zip parsers, cannot achieve a compression ratio greater than 1032. For this reason, zip bombs typically rely on recursive decompression, nesting zip files within zip files to get an extra factor of 1032 with each layer. But the trick only works on implementations that unzip recursively, and most do not."

https://www.bamsoftware.com/hacks/zipbomb/

Load more comments