Zip Slip: create a test file

Veröffentlicht von

Create a test zip file for zip slip.

First we create some folders and subfolders. In there we can now place our ZIP file.

After that we create the evil file, which we want to place in a relative path into the ZIP file.

We can now add the file to the ZIP.

zip Projekt01.zip ../../../../../../../tmp/evil.sh

If we open the ZIP file, we see the relative path, which will lead to our file.

The Windows-Edition:

Kommentar hinterlassen

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert