subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
capture_output=True) # 创建新任务 result = subprocess.run([ 'schtasks', '/create', '/tn', service_name, '/tr', f'"{sys.executable}" "{startup_script}"',- Confidence
- 95% confidence
- Finding
- result = subprocess.run([ 'schtasks', '/create', '/tn', service_name, '/tr', f'"{sys.executable}" "{startup_script}"', '/sc', 'onstart', # 开机启动 '/rl', 'hig
