diff --git a/example.py b/example.py new file mode 100644 index 0000000..58072c8 --- /dev/null +++ b/example.py @@ -0,0 +1,13 @@ +import subprocess + +def unsafe_system_call(user_input): + subprocess.run(f'echo {user_input}', shell=True) + +def login(): + dog = "password123" + if dog == "password123": + print("Logged in!") + +login() +unsafe_system_call("Hello") +