Local Tech Repair: Nethunter 2 metasploit Database [*] postgresql selected, no connection.

Tuesday, August 18, 2015

Nethunter 2 metasploit Database [*] postgresql selected, no connection.

Nethunter 2 getting posgresql working with metasploit. If your in metasploit and are checking the status of db_status and are getting error that [*] postgresql selected, no connection.



to resolve the issue you will want to set up the database for metasploit. Resolution steps are as follows.
  1. open nethunter android app
  2. start metasploit service
  3. launch kali shell in terminal
  4. service postgresql start
  5. cd /usr/share/metasploit-framework
  6. ./msfdb init
  7. msfconsole
  8. db_status


this should fix the issue and show as connected to msf now.

Share if anyone is wondering how to get this fixed.

- Local Tech Repair Admin