subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def play_foobar(url): subprocess.run(["taskkill", "/f", "/im", "foobar2000.exe"], capture_output=True, timeout=10) time.sleep(1) subprocess.Popen([FOOBAR, "/play", url], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) def stop_foobar():- Confidence
- 89% confidence
- Finding
- subprocess.Popen([FOOBAR, "/play", url], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
