subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
print(f"执行命令: {command}") import subprocess result = subprocess.run(command, shell=True, capture_output=True, text=True) if result.returncode == 0: print("agent-browser脚本执行成功")- Confidence
- 94% confidence
- Finding
- result = subprocess.run(command, shell=True, capture_output=True, text=True)
