title: How does one make a Zip bomb?
body: <p><a href="https://stackoverflow.com/questions/1459080/how-can-i-protect-myself-from-a-zip-bomb">This question</a> about zip bombs naturally led me to the <a href="http://en.wikipedia.org/wiki/Zip_bomb" rel="noreferrer">Wikipedia page</a> on the topic. The article mentions an example of a 45.1 kb zip file that decompresses to 1.3 exabytes.</p>
  <p>What are the principles/techniques that would be used to create such a file in the first place? I don't want to actually do this, more interested in a simplified &quot;how-stuff-works&quot; explanation of the concepts involved.</p>
  <p>The article mentions 9 layers of zip files, so it's not a simple case of zipping a bunch of zeros. Why 9, why 10 files in each?</p>