Created
October 9, 2014 22:16
-
-
Save superscott/b7775ee610373ad3a7a0 to your computer and use it in GitHub Desktop.
initial* shellshock bash test for ansible
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
--- | |
- hosts: all | |
sudo: True | |
gather_facts: no | |
tasks: | |
- command: env x='() { :;}; echo vulnerable' bash -c "echo this is a test" | |
register: output | |
- debug: var=output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment