Skip to content

install.ps1 doesn't complete the install #703

Open
@Edi013

Description

@Edi013

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.

Image

Steps to Reproduce

  1. Disabled Windows Defender from settings and via Group Policy
  2. Open powershell with run as admin. It opens in C:\Users\user
  3. 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
  4. cd Desktop
  5. Unblock-File .\install.ps1
  6. Set-ExecutionPolicy Unrestricted
  7. .\install.ps1 -customConfig https://raw.githubusercontent.com/HuskyHacks/PMAT-labs/main/config.xml
    Result :

Image

Image

Image

Image

Image

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 :

chocolatey.log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions