mandiant / commando-vm

Complete Mandiant Offensive VM (Commando VM), a fully customizable Windows-based pentesting virtual machine distribution. commandovm@mandiant.com
https://www.mandiant.com/resources/blog/commando-vm-windows-offensive-distribution
Apache License 2.0
6.88k stars 1.28k forks source link

Install fails during boxstarter istallation #187

Closed sfuthings closed 3 years ago

sfuthings commented 3 years ago

I'm installing in Windows 10 2004, and installation always fails during boxtstarter installation.

Using install script, errors include: The term 'Install-BoxstarterPackage' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

When manually install int boxstarter using cinst -y boxstarter: [NuGet] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 104.20.74.28:80 boxstarter not installed. An error occured during installation: Unable to resolve dependency 'Boxstarter.Common (= 2.13.0)'.

I have tried accessing the IP address and its a Cloudflare IP address with an error 1003, Direct IP access not allowed.

day1player commented 3 years ago

@sfuthings are you sitting behind a firewall of some sort? Recommend installing from a home internet connection.

sfuthings commented 3 years ago

@day1player I'm not behind a firewall, but turns out the issue was caused by cloudflare blocking my IP address. Used a VPN and the installation seems fine and is currently progressing past the boxstarter install as of now. Fingers crossed. Thanks!

D-808 commented 2 years ago

I was able to proceed with the install.ps1 file by manually installing chocolatey and boxstarter (in that order)

cmd to install chocolatey Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

installing boxstarter CINST Boxstarter

ppallynyu commented 2 years ago

I was able to proceed with the install.ps1 file by manually installing chocolatey and boxstarter (in that order)

cmd to install chocolatey Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

installing boxstarter CINST Boxstarter

Thank you D-808! This worked for me as well. One thing though that I had to do. Not sure why, but I had to upgrade my Chocolatey then it worked. Either way I ran this command and now I have my Flare VM working.