Open
Description
What's the problem?
Upon running the file retrieved with this command (New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1")
, I get an error about System.Drawing.ColorTranslator.
Steps to Reproduce
- Disabled Windows Defender from settings and via Group Policy
- Open powershell with run as admin. It opens in C:\Users\user
- Use
(New-Object net.webclient).DownloadFile('https://raw.githubusercontent.com/mandiant/flare-vm/main/install.ps1',"$([Environment]::GetFolderPath("Desktop"))\install.ps1")
to retrieve the file cd Desktop
Unblock-File .\install.ps1
Set-ExecutionPolicy Unrestricted
.\install.ps1 -customConfig https://raw.githubusercontent.com/HuskyHacks/PMAT-labs/main/config.xml
Result :
Environment
- VirtualBox
- C:\Windows\system32 19045 Windows User 00329-20000-00001-AA469 10.0.19045
- 5.1.19041.1682
- 2.4.3
- Boxstarter|3.0.3
- VM-Get-Host-Info is not recognized as the name of a cmdlet fn/script
Additional Information
C:\ProgramData_VM\log.txt doesn't exists
C:\ProgramData\chocolatey\logs\chocolatey.log :