News for hackers. Stuff that matters.
Re:I Use Zip Bombs to Protect My Server by philsnow on Tuesday April 29, 2025 @06:35PM (#43838852)
A compressed file that is only one byte long can only represent maximally 256 different uncompressed files.

Signed, a kid in the 90s who downloaded some "wavelet compression" program from a BBS because it promised to compress all his WaReZ even more so he could then fit moar on his disk. He ran the compressor and hey golly that 500MB ISO fit into only 10MB of disk now! He found out later (after a defrag) that the "compressor" was just hiding data in unused disk sectors and storing references to them. He then learned about Shannon entropy from comp.compression.research and was enlightened.

Re:I Use Zip Bombs to Protect My Server by marcusf on Tuesday April 29, 2025 @07:03PM (#43839105)
man, a comment that brings back memories. you and me both.
Re:I Use Zip Bombs to Protect My Server by david422 on Tuesday April 29, 2025 @08:30PM (#43839784)
> He found out later (after a defrag) that the "compressor" was just hiding data in unused disk sectors and storing references to them

So you could access the files until you wrote more data to disk?

Re:I Use Zip Bombs to Protect My Server by thehappypm on Tuesday April 29, 2025 @11:08PM (#43840858)
Strange to think that is approach would actually work pretty damn well for most people because most people aren’t using therefore hard drive space
Re:I Use Zip Bombs to Protect My Server by jabl on Wednesday April 30, 2025 @05:55AM (#43843045)
Ha ha, that compressor is some evil genius.

Brings to mind this 30+ year old IOCCC entry for compressing C code by storing the code in the file names.

https://www.ioccc.org/1993/lmfjyh/index.html