-
-
Save intfrr/758513f53d261c491983 to your computer and use it in GitHub Desktop.
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
# To anyone worried about using servers that may not have attentive admins -- | |
# put the following line(s) in your ~/.bashrc to help protect yourself: | |
env x='() { :;}; echo "WARNING: SHELLSHOCK DETECTED"' \ | |
bash --norc -c ':' 2>/dev/null; | |
# It will print to stdout if and only if your shell is vulnerable, and nothing | |
# will be printed if your shell has been patched. It will take a little longer | |
# to launch a new shell slightly, but for some, this may be worth it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment