subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
command = check.get("command", "echo ok") try: result = subprocess.run( ["ssh", target, command], capture_output=True, text=True,- Confidence
- 88% confidence
- Finding
- result = subprocess.run( ["ssh", target, command], capture_output=True, text=True, timeout=30 )
