Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pich4ya/6ad230aa42afe07b8dd426946e2188cf to your computer and use it in GitHub Desktop.
Save pich4ya/6ad230aa42afe07b8dd426946e2188cf to your computer and use it in GitHub Desktop.
Install Metasploit Framework v5.0.0 on MacOS 10.3.3 (2018)
$ git clone https://github.com/rapid7/metasploit-framework.git
$ cd metasploit-framework
$ ./msfconsole
[*] Metasploit requires the Bundler gem to be installed
$ gem install bundler
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources
$ brew install openssl
$ /usr/local/opt/openssl@1.1/bin/openssl version
OpenSSL 1.1.0g 2 Nov 2017
$ rm /usr/local/opt/openssl
$ ln -s /usr/local/opt/openssl@1.1 /usr/local/opt/openssl
$ cat .ruby-version
2.4.3
$ rvm reinstall 2.4.3 --with-openssl-dir=`brew --prefix openssl`
$ gem install bundler
$ brew install postgresql
$ bundle install
$ ./msfconsole
Metasploit Park, System Security Interface
Version 4.0.5, Alpha E
Ready...
> access security
access: PERMISSION DENIED.
> access security grid
access: PERMISSION DENIED.
> access main security grid
access: PERMISSION DENIED....and...
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
YOU DIDN'T SAY THE MAGIC WORD!
=[ metasploit v5.0.0-dev-55a045eb76 ]
+ -- --=[ 1742 exploits - 995 auxiliary - 301 post ]
+ -- --=[ 526 payloads - 40 encoders - 10 nops ]
+ -- --=[ ** This is Metasploit 5 development branch ** ]
msf5 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment