![Install postgres on mac for metasploit](https://cdn-ak.f.st-hatena.com/images/fotolife/g/greathigh-power/20200126/20200126193937.jpg)
![install postgres on mac for metasploit install postgres on mac for metasploit](https://static.packt-cdn.com/products/9781849517423/graphics/7423_01_01.jpg)
# sudo plugin so we can run Metasploit as root with "rbenv sudo msfconsole" Git clone git:///sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-buildĮcho 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' > ~/.bash_profile rbenvĮcho 'export PATH="$HOME/.rbenv/bin:$PATH"' > ~/.bash_profileĮcho 'eval "$(rbenv init -)"' > ~/.bash_profile Installing Ruby using RVM: curl -L | bash -s stableĮcho "source ~/.rvm/scripts/rvm" > ~/.bash_profile If installing using RVM be warned that symlinks will not work do to the way it places the binary stubs of the metasploit-framework gem
#Install postgres on mac for metasploit install#
Installing Ruby using Homebrew: brew install homebrew/versions/ruby21Ĭheck that yo are running the version of ruby you just installed with: ruby -v On OS X we have 3 methods for installing ruby 2.1.x these are: To install Nmap just run the command bellow: brew install nmap Source ~/.bash_profile brew tap homebrew/versions Install Nmapįor Nmap in the case of OSX I recommend the use of Homebrew since they are quite quick and keeping their formulas updated for the tool and work out most of the problems that may arise quite quickly.
![install postgres on mac for metasploit install postgres on mac for metasploit](https://s2.studylib.net/store/data/013505246_1-80947f5befbea2e5c4ffd24349fc11b0.png)
We need to make sure that the binaries we install with homebrew are first in the path: echo PATH=/usr/local/bin:/usr/local/sbin:$PATH > ~/.bash_profile Manual Installation Install Homebrew /usr/bin/ruby -e "$(curl -fsSkL /mxcl/homebrew/go)" If both commands runs and the location is correct Java is properly installed on the system. To check tha the location is /usr/bin/java for the link run: whereis java It should return the version of Java you just installed. Test that Java is properly installed by running java -version
![install postgres on mac for metasploit install postgres on mac for metasploit](https://thehacktoday.com/wp-content/uploads/2016/01/1.png)
This should set all the proper shortcuts for the Java binaries Download the latest Java JDK 8 from Oracle.
![Install postgres on mac for metasploit](https://cdn-ak.f.st-hatena.com/images/fotolife/g/greathigh-power/20200126/20200126193937.jpg)