Skip to main content

Posts

Showing posts from November, 2018

armitage archlinux

export MSF_DATABASE_CONFIG=/home/kai/.msf4/database.yml cat  /home/kai/.msf4/database.yml adapter: postgresql  database: databasename  username: username  password: your_password  host: localhost  port: 5432  pool: 5  timeout: 5 pacman -S armitage #systemctl start postgresql setting db sudo -u postgres -i [postgres]$ initdb -D '/var/lib/postgres/data' [postgres]$ initdb --locale en_US.UTF-8 -E UTF8 -D '/var/lib/postgres/data' createuser --interactive createdb myDatabaseName     msfconsole db_connect user @msf msf > db_rebuild_cache src: https://wiki.archlinux.org/index.php/PostgreSQL https://wiki.archlinux.org/index.php/Metasploit_Framework