title: How to create a file to test Zip Slip Vulnerability from commandline
body: <p>From <a href="https://snyk.io/research/zip-slip-vulnerability" rel="noreferrer">https://snyk.io/research/zip-slip-vulnerability</a></p>
  
  <blockquote>
    <p>The contents of this zip file have to be hand crafted. Archive
    creation tools don’t typically allow users to add files with these
    paths, despite the zip specification allowing it. However, with the
    right tools, it’s easy to create files with these paths.</p>
  </blockquote>
  
  <p>I want to create a test payload so that i can check few of my zip handling logic. But i cant find any leads on how to create one.</p>
  
  <pre><code>:~/Desktop # touch "../../../../../../../../tmp/evil.sh"
  :~/Desktop # ll
  :~/Desktop # ll /tmp/evil.sh
  -rw-r--r-- 1 root root 0 Jun 14 09:27 /tmp/evil.sh
  </code></pre>