subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
try: if is_wsl(): # WSL 环境:直接执行 /mnt/c/.../Everything.exe subprocess.Popen( [everything_exe, "-startup"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL )- Confidence
- 90% confidence
- Finding
- subprocess.Popen( [everything_exe, "-startup"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL )
