Skip to content

Commit

Permalink
Changed the ZIP archives to fix the test
Browse files Browse the repository at this point in the history
The tests passed on a Mac because $TMP folder didn't default
to /tmp that was used in the malicious file. It failed on Linux
because they matched. Changed the evil.txt to be nested inside a
../../....../home/ instead. Should fix the tests now.
  • Loading branch information
Toomas Romer committed Apr 26, 2018
1 parent 5820e66 commit 92583bb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 0 deletions.
Binary file modified src/test/resources/zip-malicious-traversal-backslashes.zip
Binary file not shown.
Binary file modified src/test/resources/zip-malicious-traversal.zip
Binary file not shown.

0 comments on commit 92583bb

Please sign in to comment.