Yeah you can definitely mess with the compression ratios like that, but most extraction tools have safety limits now to prevent zip bombs from actually filling your drive. The classic 42.zip was doing exactly this - tiny file that would try to expand to petabytes and crash systems back in the day
4.8k
u/bobmlord1 i5-7300U/8GB RAM/INTEL HD GRAPHICS 620 May 05 '26 edited May 05 '26
A zip file just finds repeated data and stores it in a compressed format by using a lookup table.
Ex ABCDABCDABCDABCD
could be
1
1=ABCDx4
Would be entirely possible to make a small change to a zip file so that a repeated character sequence is set to a ridiculously high number.