News for hackers. Stuff that matters.
Re:I Use Zip Bombs to Protect My Server by rtkwe on Tuesday April 29, 2025 @06:34PM (#43838847)
It'd have to be more than one byte. There's the central directory, zip header, local header then the file itself you need to also tell it how many zeros to make when decompressing the actual file but most compression algorithms don't work like that because they're designed for actual files not essentially blank files so you get larger than the absolute minimum compression.
Re:I Use Zip Bombs to Protect My Server by malfist on Tuesday April 29, 2025 @08:03PM (#43839570)
I mean, if I make a new compression algorithm that says a 10GB file of zeros is represented with a single specific byte, that would technically be compression.

All depends on how much magic you want to shove into an "algorithm"

Re:I Use Zip Bombs to Protect My Server by rtkwe on Tuesday April 29, 2025 @11:09PM (#43840868)
If it's not standard I count the extra program required to decompress it as part of the archive.
Re:I Use Zip Bombs to Protect My Server by eru on Wednesday April 30, 2025 @02:04AM (#43841733)
Yes, though in this case that wouldn't add much.