os.system() or os exec-family call
High
- Category
- Dangerous Code Execution
- Content
@staticmethod def kill_libreoffice(): """强制终止所有 LibreOffice 进程""" os.system('taskkill /f /im soffice.exe >nul 2>&1') os.system('taskkill /f /im soffice.bin >nul 2>&1') time.sleep(1)- Confidence
- 94% confidence
- Finding
- os.system('taskkill /f /im soffice.exe >nul 2>&1')
