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

BUG: Metasploit Fails to Upgrade/Install - metasploit.flare #185

Closed martialhax closed 3 years ago

martialhax commented 3 years ago

Describe the bug and expected behavior Metasploit fails on "cup all" or "cinst -y metasploit.flare --force"

To Reproduce Trying to upgrade from CommandoVM Version 2020.1

"cup all" or "cinst -y metasploit.flare --force"

Output: metasploit.flare package files install completed. Performing other installation steps. Attempt to get headers for http://windows.metasploit.com/metasploit-framework-5.0.90%2B20200518152542.git.2.33708c2-1rapid7-1-x64.msi failed. The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://windows.metasploit.com/metasploit-framework-5.0.90%2B20200518152542.git.2.33708c2-1rapid7-1-x64.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded. Error - hashes do not match. Actual value was '03A22A4570FCC1A9F28C3360F4879DABBABB1BBD5F481B76D968566E4E435C15'. Downloading metasploit.flare 64 bit from 'http://windows.metasploit.com/metasploit-framework-5.0.90%2B20200518152542.git.2.33708c2-1rapid7-1-x64.msi' ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://windows.metasploit.com/metasploit-framework-5.0.90%2B20200518152542.git.2.33708c2-1rapid7-1-x64.msi'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found." The install of metasploit.flare was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\metasploit.flare\tools\chocolateyInstall.ps1'. See log for details.

Screenshots

Screen Shot 2020-11-23 at 9 36 06 AM

Version

Additional context n/a

martialhax commented 3 years ago

Got a little farther today running "cup all" but still not completely....

Screen Shot 2020-11-25 at 2 15 26 PM
martialhax commented 3 years ago

I ended up manually installing the latest Metasploit package directly from Rapid7 and it fixed.