Skip to content

Commit

Permalink
Fix md ZIP
Browse files Browse the repository at this point in the history
  • Loading branch information
doverh committed Apr 23, 2024
1 parent aa51ee5 commit 264f599
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ Additional testing techniques:
touch ../../../../../../../../tmp/traversed
5. Open this file and a message to echo (executing this file should echo this message):
echo 'Your message here'
6. Create the zip file:
zip -r 'zip file name' 'directory name
6. Create the ZIP file:
ZIP -r 'ZIP filename' 'directory name
7. Validate files compressed
jar -tvf 'zip file name'
8. Load this zip file in the target application.
jar -tvf 'ZIP filename'
8. Load this ZIP file in the target application.
9. Verify that the two files are located within different folders on the web server after the archive has been extracted.

- Include a unit test to upload an infected compressed file then execute the extraction method.
Expand Down

0 comments on commit 264f599

Please sign in to comment.