Hi Fellows, Today we are going to Setup and Install Metasploit on MacOS, It is easy as installing on Linux and Windows Just you need to install additional files and configure it before setting up Metasploit.

1. Install Homebrew

Code:

 

brew tap homebrew/versions

2. Install Nmap

Code:

 

3. Install Ruby 2.1.X

Code:


 

4. Install PostgreSQL

Code:

 

5. Configure PostgreSQL

Code:

 

6. Installing Metasploit Framework

Code:

 

Add:

 

Code:

 

And now you can execute msfconsole.

Code:

 

Hope this helped someone, let me know if you have any errors or questions.