subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
remote_command = command else: remote_command = shlex.join(command) result = subprocess.run( ["ssh", self.worker_host, remote_command], capture_output=True, text=True,- Confidence
- 95% confidence
- Finding
- result = subprocess.run( ["ssh", self.worker_host, remote_command], capture_output=True, text=True, )
