subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
cmd.extend(['-out', out]) # 执行裁剪命令 result = subprocess.run(cmd, capture_output=True, text=True, encoding='utf-8') if result.returncode == 0: return jsonify({- Confidence
- 95% confidence
- Finding
- result = subprocess.run(cmd, capture_output=True, text=True, encoding='utf-8')
