subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: # 执行任意命令 result = subprocess.run( command_str, shell=True, capture_output=True,- Confidence
- 99% confidence
- Finding
- result = subprocess.run( command_str, shell=True, capture_output=True, text=True, timeout=30, encoding="utf-8",
