Last active
August 29, 2015 14:08
-
-
Save rubenerd/9bf014b1c35496b7f46f to your computer and use it in GitHub Desktop.
Protect oneself from wget's symlink attack
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/sh | |
## Protect oneself from wget's symlink attack (CVE-2014-4877) | |
## Good idea to do this even if you update to 1.16 | |
echo 'retr-symlinks=on' >> /usr/local/etc/wgetrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment