AUTHOR

lmfff "LARGEST FILES IN THE WORLD."

it's like "BEWARE. YOU WILL DIE WHEN YOU SEE THE SIZE OF THESE FILES."
lmao. or your email will self-destruct 2 mins after download.
heh...try zipping up 1TB of zeros
it will take up fuck all space. Send it to someone via email. When they unzip it (depending on the unzipping package they use) bam, they run out of space

hahaha
Hercules quote:
heh...try zipping up 1TB of zeros
it will take up fuck all space. Send it to someone via email. When they unzip it (depending on the unzipping package they use) bam, they run out of space


guess i know what i am doing tonight.
SPUTNIK quote:
guess i know what i am doing tonight.
never accepting files from either of you.
Hercules quote:
heh...try zipping up 1TB of zeros
it will take up fuck all space. Send it to someone via email. When they unzip it (depending on the unzipping package they use) bam, they run out of space


evil
SPUTNIK quote:
guess i know what i am doing tonight.
well to be fair many if not all modern archivers have built in protection against such things

within the zip headers there are two properties stored that can be read before extraction, usually labeled simply 'csize' and 'ucsize'

most unzippers use a ratio of csize to ucsize (compressed : uncompressed) and will throw an error if it's too high.

Since this occurs before extraction to disk, you're fairly well safe - but this is how the "zip bombs" of old would work.
Hercules quote:
heh...try zipping up 1TB of zeros
it will take up fuck all space. Send it to someone via email. When they unzip it (depending on the unzipping package they use) bam, they run out of space


that is vicious. i love it.
i know infozip and 7zip protect against this.

infozip i know throws PK_ERROR (return code of 2) if the ratio is over something like 40

I don't remember the exact code/text from 7zip, I stopped involving myself in that project when i realized the lead developer was a lazy cunt
Triscuit quote:
that is vicious. i love it.
well when you think about it, compression algorithms look to bundle like bit arrays of data together into a single character plus a control character. So if you can include instructions of just "take the character '0' and continue writing it to stdout for $instances iterations" you only have to use a couple of bytes to store shit tonnes of data.

It's more complex than that, but that's the gist of it.
Hercules quote:
well when you think about it, compression algorithms look to bundle like bit arrays of data together into a single character plus a control character. So if you can include instructions of just "take the character '0' and continue writing it to stdout for $instances iterations" you only have to use a couple of bytes to store shit tonnes of data.

It's more complex than that, but that's the gist of it.
actually, that does make sense.
Smiley

Quick reply

Sign in to post a message.
Smileys

Times shown in Eastern Time (ET).