| Welcome to Pwnie Express. We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Please note you need to use a valid email address to register for member access. Get your questions answered by other members, share your ideas and feedback, get your problems solved, and give back by helping others! It only takes a minute to get started. Registration is simple, fast, and completely free! Join our community! If you're already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| Metasploit "Database not connected"; When I use a database command within Metasploit (msfconsole, i.e. "db_nmap -A <subnet>", i get "[*] Database not connected" | |
|---|---|
| Topic Started: Feb 25 2014, 01:19 PM (6,401 Views) | |
| cv1 | Feb 25 2014, 01:19 PM Post #1 |
|
Hi community, Just got this awesome pad and am learning tools one by one. I started with nmap, and now moving onto Metasploit. I will appreciate any help on a few issues I'm having: Scenario: When I use a database command within Metasploit (msfconsole, i.e. "db_nmap -A <subnet>", i get an error message that says "[*] Database not connected". Questions: Is there a database installed on pwn pad 2014? If so, which one? How do I get it to connect to metasploit? Is the database username "msf"? How about the password? If no database is installed, has anyone tried installing postgresql and configuring it to work with Metasploit on the pwn pad 2013/2014? Thanks, Carlos |
![]() |
|
| cLeAv0 | Feb 26 2014, 03:03 AM Post #2 |
|
I think it needs postgresql to work, and pwnpad 2014 doesn't have it installed. I tried to install it but i got some errors. |
![]() |
|
| cv1 | Feb 26 2014, 10:03 AM Post #3 |
|
cLeAv0, Thank you. Sounds like a thread should be started on getting postgresql connected to metasploit. Lets do it!Carlos |
![]() |
|
| cv1 | Feb 26 2014, 10:19 PM Post #4 |
|
PawPad community, Any suggestions or starting point on installing Postgresql and configuring it to communicate with Metasploit on the PwnPad? I'll be experimenting (and starting a new thread and posting successes and failures) with the 2014 model. Carlos |
![]() |
|
| 0ld3nglish800 | Feb 26 2014, 10:37 PM Post #5 |
![]()
|
Binky's Kalipwn supports postgresql and even armitage (inside vnc). It is compatible with other custom roms as well. I recommend it. I dont know for sure, but I dont think I have seen an official post here on these forums from Pwnie Express developers. Just sayin... |
![]() |
|
| cv1 | Feb 26 2014, 11:30 PM Post #6 |
|
0ld3nglish800, Are you talking about this: http://w11.zetaboards.com/Pwnie_Express/topic/9369003/ Interesting...! Would you, or anybody else, educate me on what the differences are between the Binky's Kalipwn and the stock pwn pad 2014? Thanks, Carlos |
![]() |
|
| cLeAv0 | Feb 27 2014, 03:51 PM Post #7 |
|
i got postgresql to install. going to post a guide shortly when i get metasploit to connect. |
![]() |
|
| cv1 | Feb 27 2014, 03:59 PM Post #8 |
|
cLeAv0, Congratulations! Looking forward to the steps to leverage from your experience. Thank you, Carlos |
![]() |
|
| cLeAv0 | Feb 27 2014, 04:08 PM Post #9 |
|
Note that this was all just compiled from days of searching the net. 1. Fix tzdata error on apt-get: /var/lib/dpkg/info/tzdata.postinst Try putting 'set -x' on the second line of the script, then run 'dpkg --configure tzdata'. then apt-get update,apt-get upgrade on chroot 2. Fix broken permissions etc: edit /usr/sbin/update-rc.d # Blacklist # postgresql disabled (comment) #Whitelist postgresql enabled (add) or on chroot update-rc.d postgresql defaults update-rc.d postgresql enable then useradd postgres groupadd -g 3003 aid_inet usermod -aG aid_inet postgres apt-get install postgresql 3. Installing metasploit service: apt-get install metasploit after installing, edit msf.sh on pwnpad-scripts folder to: #!/bin/bash clear echo echo "Starting Metasploit this will take a minute...." service postgresql start service metasploit start msfconsole this is just a simple guide. i just wrote this using the n7 going to make it more user friendly when i can post on a desktop. Tested metasploit web ui working. Edited by cLeAv0, Feb 27 2014, 05:44 PM.
|
![]() |
|
| cv1 | Feb 28 2014, 12:07 PM Post #10 |
|
cLeAv0, Thank you very VERY much. I'm going to attempt to install postgresql on the pwnpad 2014 this weekend using your steps. Carlos |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
![]() Our users say it best: "Zetaboards is the best forum service I have ever used." |
|
| Go to Next Page | |
| « Previous Topic · Pwn Pad Community Edition Support Forum · Next Topic » |
- Pages:
- 1
- 2





Lets do it!

8:49 PM Jul 10