subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
) return r.returncode == 0 elif system == "Windows": r = subprocess.run( ["cmdkey", f"/generic:{SERVICE_NAME}", "/user:codealive", f"/pass:{api_key}"], capture_output=True, text=True, timeout=10, )- Confidence
- 87% confidence
- Finding
- r = subprocess.run( ["cmdkey", f"/generic:{SERVICE_NAME}", "/user:codealive", f"/pass:{api_key}"], capture_output=True, text=True, timeout=10, )
