Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusalstrom authored Sep 27, 2024
1 parent cf82d93 commit 1953f2e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions example.py
Original file line number Diff line number Diff line change
@@ -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")

0 comments on commit 1953f2e

Please sign in to comment.