ruff/crates/ruff_linter/resources/test/fixtures/flake8_bandit/S609.py
2023-09-20 08:38:27 +02:00

8 lines
277 B
Python

import os
import subprocess
os.popen("chmod +w foo*")
subprocess.Popen("/bin/chown root: *", shell=True)
subprocess.Popen(["/usr/local/bin/rsync", "*", "some_where:"], shell=True)
subprocess.Popen("/usr/local/bin/rsync * no_injection_here:")
os.system("tar cf foo.tar bar/*")