subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
$img.Dispose() Write-Output "CLIPBOARD_OK" ''' result = subprocess.run(["powershell", "-Command", ps_cmd], capture_output=True, text=True) if result.returncode == 0: print(f"[clipboard] Image copied: {args.image}") else:- Confidence
- 97% confidence
- Finding
- result = subprocess.run(["powershell", "-Command", ps_cmd], capture_output=True, text=True)
