Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. # A good key that we want
  2. VALID_CONFIG_KEY=testing
  3.  
  4. # We don't want external commands to be able to run
  5. DANGEROUS=$(date)
  6.  
  7. # Or a weird syntax to trigger commands
  8. BAD=$(echo 'test')=value
  9.  
  10. # And we should receive a warning about lines that don't match the key value
  11. # syntax (trying to protect against direct shell commands):
  12. echo "Didn't work: ${AMQP_URL} ${DANGEROUS}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement