subprocess module call
Medium
- Category
- Dangerous Code Execution
- Content
$execution = [scriptblock]::Create($installer.Content) & $execution -Channel {channel} -InstallDir '{target_dir}' """ subprocess.run( ["powershell", "-Command", powershell_script], capture_output=True, text=True, timeout=300 )- Confidence
- 98% confidence
- Finding
- subprocess.run( ["powershell", "-Command", powershell_script], capture_output=True, text=True, timeout=300 )
