installing_metasploit

How to install Metasploit Framework on a Linux based distro

Prerequisites:

1. MySQL or PostgreSQL
2. Ruby

Instructions:
  • Acquire Binaries from metasploit site. 
  • sudo chmod +x <binary_name>.bin
  • sudo ./<binary_name>.bin
  • sudo -u postgres createuser --superuser $USER
  • psql (you will be prompted for your password)
  • createdb metasploit (execute this in the psql shell)
  • \q (this quits the psql shell)
  • msfconsole (it generally takes about a minute to fire up)
  • db_status (should default to postgres but not be connected)
  • db_connect username:password@localhost/metasploit (the DB structure will be created and any default content populated).
  • Your Done.

Comments