subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def _execute_command(command: str) -> Tuple[bool, str]: """执行命令并返回结果""" try: result = subprocess.run( command, shell=True, capture_output=True,- Confidence
- 95% confidence
- Finding
- result = subprocess.run( command, shell=True, capture_output=True, text=True, encoding='utf-8',
