metasploit database archlinux

sudo systemctl start postgresql
sudo -u postgres -i
initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data'
createuser msf -P  -S -R -D   or createuser --interactive
createdb -o msf-msf

touch .msf4/"database.yml"
for armitage : 
export MSF_DATABASE_CONFIG=$HOME/.msf4/database.yml

production:
 adapter: postgresql
 database: msf
 username: ${USER}
 password: ${PASS}
 host: localhost
 port: 5432
 pool: 5
 timeout: 5

Popular posts from this blog

[SOLVED] IDM WAS REGISTERED WITH A FAKE SERIAL NUMBER

The Twitter Followers Playbook

Hidden Wiki