Skip to content

Instantly share code, notes, and snippets.

@superscott
Created October 9, 2014 22:16
Show Gist options
  • Save superscott/b7775ee610373ad3a7a0 to your computer and use it in GitHub Desktop.
Save superscott/b7775ee610373ad3a7a0 to your computer and use it in GitHub Desktop.
initial* shellshock bash test for ansible
---
- 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