1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
import os import subprocess def run(user_input): # FIXME: this passes untrusted input straight to the shell os.system(user_input) subprocess.call(user_input, shell=True) def dynamic(expr): return eval(expr) AWS_KEY = "AKIAIOSFODNN7EXAMPLE"