From f2b4dbebbe4fa3b7b075214f87e1d3ba0ac37a6c Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Fri, 12 Jun 2020 14:52:28 -0500 Subject: [PATCH] Revert "remove unlinked Using-Metasploit page" This reverts commit cd5ce7edc1941a7d2e7f1410eaafeef0014bdaa3. --- Using-Metasploit.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Using-Metasploit.md diff --git a/Using-Metasploit.md b/Using-Metasploit.md new file mode 100644 index 0000000000..3e814b2307 --- /dev/null +++ b/Using-Metasploit.md @@ -0,0 +1,23 @@ +Start here: + +* http://www.offensive-security.com/metasploit-unleashed/Main_Page +* https://metasploit.help.rapid7.com/docs/ +* http://docs.kali.org/general-use/starting-metasploit-framework-in-kali +* https://github.com/rapid7/metasploitable3 +* [[Evading Anti-Virus]] + +Database troubleshooting +------------------------ +If the database is not connecting automatically, first make sure it is running: +* Linux:`$ netstat -lnt | grep 7337` where 7337 is whatever port you told it to listen on during installation +* Windows: look for a postgres.exe process in task manager. + +If postgres is not running, try starting it manually: +* Linux:`$ sudo /etc/init.d/metasploit start` or if you didn't choose to install as a service: `$ sudo /opt/metasploit*/ctlscript.sh start` +* Windows: Start -> Metasploit -> Services -> Start Services + +Once postgres is running and listening, go back to msfconsole: + +``` +msf > db_connect +```