subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def _run_cmd(cmd: str): log(f" $ {cmd}") subprocess.run(cmd, shell=True, check=True) def _get_duration(file: str) -> float:- Confidence
- 98% confidence
- Finding
- subprocess.run(cmd, shell=True, check=True)
