subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def run_cmd(label: str, cmd: str, execute: bool): print(f"{label}: {cmd}") if execute: subprocess.run(cmd, shell=True, check=True) def command_control(args, token, home_id):- Confidence
- 99% confidence
- Finding
- subprocess.run(cmd, shell=True, check=True)
