Homebrew / homebrew-cask

🍻 A CLI workflow for the administration of macOS applications distributed as binaries
https://brew.sh
BSD 2-Clause "Simplified" License
20.95k stars 10.73k forks source link

metasploit 404 #116499

Closed hamon-e closed 2 years ago

hamon-e commented 2 years ago

Verification

Description of issue

$> brew update                                                                                             
Already up-to-date.
$> brew install --cask metasploit                                                                          
==> Downloading https://osx.metasploit.com/metasploit-framework-6.1.20%2B20211213112930-1rapid7-1.x86_64.pkg
##O#- #
curl: (22) The requested URL returned error: 404 Not Found
Error: Download failed on Cask 'metasploit' with message: Download failed: https://osx.metasploit.com/metasploit-framework-6.1.20%2B20211213112930-1rapid7-1.x86_64.pkg
$> brew info metasploit                                                                                     
metasploit: 6.1.20,20211213112930
https://www.metasploit.com/
Not installed
From: https://github.com/Homebrew/homebrew-cask/blob/HEAD/Casks/metasploit.rb
==> Name
Metasploit Framework
==> Description
Penetration testing framework
==> Artifacts
metasploit-framework-6.1.20+20211213112930-1rapid7-1.x86_64.pkg (Pkg)
/opt/metasploit-framework/bin/msfconsole (Binary)
/opt/metasploit-framework/bin/msfd (Binary)
/opt/metasploit-framework/bin/msfdb (Binary)
/opt/metasploit-framework/bin/msfelfscan (Binary)
/opt/metasploit-framework/bin/msfmachscan (Binary)
/opt/metasploit-framework/bin/msfrop (Binary)
/opt/metasploit-framework/bin/msfrpc (Binary)
/opt/metasploit-framework/bin/msfrpcd (Binary)
/opt/metasploit-framework/bin/msfvenom (Binary)
/opt/metasploit-framework/bin/msfpescan (Binary)
/opt/metasploit-framework/bin/msfbinscan (Binary)
==> Analytics
install: 403 (30 days), 1,507 (90 days), 5,505 (365 days)

cant install metasploit seems to be broken each update

https://github.com/Homebrew/homebrew-cask/issues/109333 https://github.com/Homebrew/homebrew-cask/issues/100911 https://github.com/Homebrew/homebrew-cask/issues/100236

Command that failed

brew install --cask metasploit

Output of command with --verbose --debug

see ^

Output of brew doctor --verbose

see ^

Output of brew tap

see ^
neutric commented 2 years ago

Help yourself (and us) in the future by submitting a fix:

%  brew livecheck metasploit
metasploit : 6.1.20,20211213112930 ==> 6.1.22,20211226112904

and then follow the instructions in CONTRIBUTING.md to update it. After initial setup, all that is needed then is

%  brew bump-cask-pr --version 6.1.22,20211226112904 metasploit

This creates a local branch bump-metasploit-6.1.22 that you can check out and install from without waiting for the PR to be merged.