Description: This video is all about how to do autopwn in metasploit with postgresql.followings are the step taken in video.
1. apt-get install -y postgresql libpq-dev
2. sudo su postgres -c psql
now we will get postgres console
Run following command now
1. ALTER USER postgres WITH PASSWORD 'abc123'
2. sudo passwd -d postgres
3. sudo su postgres -c passwd
this will ask for new password
4. gem install pg
open msfconsole and type following
db_driver postgresql
now connect to postgresql.
we can use command like db_nmap 192.168.100.10 in metasploit.
Tags: Autopwn , Metasploit ,
Disclaimer: We are a infosec video aggregator and this video is linked from an external website. The original author may be different from the user re-posting/linking it here. Please do not assume the authors to be same without verifying.
some time in backtrack creating of database in metasploit is
headache. This is a nice tutorial
database creation in metasploit has some great advantage.