Created
September 26, 2014 10:14
-
-
Save ryanfitton/a252985f752614eb7490 to your computer and use it in GitHub Desktop.
Ubuntu Bash 'Shell Shock' vulnerability patch for Debian/Ubuntu systems
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
#Test: | |
env x='() { :;}; echo vulnerable' bash -c "echo this is a test" | |
#Run: | |
apt-get update && apt-get install -y bash | |
#Test again: | |
env x='() { :;}; echo vulnerable' bash -c "echo this is a test" | |
#If it does not say 'vulnerable' then the patch has been applied. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment