Files
codeql/python/ql/test/query-tests/Security/CWE-078-UnsafeShellCommandConstruction/setup_posix.py

4 lines
125 B
Python

import os
def unsafe_setup(name):
os.system("ping " + name) # $result=OK - this is inside a setyp script, so it's fine.