subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
startupinfo = subprocess.STARTUPINFO() startupinfo.dwFlags |= subprocess.STARTF_USESHOWWINDOW startupinfo.wShowWindow = subprocess.SW_HIDE subprocess.Popen( ["cmd", "/c", "start", "OpenCode Server", "opencode", "serve", "--port", str(port), "--hostname", host], startupinfo=startupinfo,- Confidence
- 89% confidence
- Finding
- subprocess.Popen( ["cmd", "/c", "start", "OpenCode Server", "opencode", "serve", "--port", str(port), "--hostname", host], startupinfo=star
