[Tutorial] metasploit establish the database

When we search through search commands, we will find that the search is very slow (slow search) and will complain;

Start postgresql:

service postgresql strart

Start metasploit will begin to set up a data table:

service metasploit strart

 

Boot configuration:

update-rc.d postgresql enable
update-rc.d metasploit enable

 

Database modifications:

sudo - U postgres psql postgres # to enter the interactive mode 
the ALTER the User postgres with password ' 123456 ' ; # password

 

Finally, start msf:

msfconsole

 

Database Connection Confirm Status:

db_status

 

Database Connectivity:

db_connect postgres:123456@127.0.0.1/postgres

Guess you like

Origin www.cnblogs.com/endust/p/12052101.html