subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
def get_existing_windows_tasks(): """获取Windows现有任务""" try: result = subprocess.run( ['schtasks', '/query', '/fo', 'LIST', '/v'], capture_output=True, text=True,- Confidence
- 93% confidence
- Finding
- result = subprocess.run( ['schtasks', '/query', '/fo', 'LIST', '/v'], capture_output=True, text=True, shell=True )
