A little and fast Armitage fix
A little and fast armitage fix for newest kali version
First of all, we need to find metasploit database.yml, to find, you can use:
sudo locate database.yml
If something like that appears for you:
/usr/share/metasploit-framework/config/database.yml
Thats the path of metasploit database.yml
Now open terminal and put this code
export MSF_DATABASE_CONF=/usr/share/metasploit-framework/config/database.yml
and run
type this on terminal, to start postgresql
sudo service postgresql start
But, this fix aren’t permanent, to make permanent we need to add export MSF_DATABASE_CONFIG=/usr/share/metasploit-framework/config/database.yml on the shell configuration, with some text editor w/ sudo permision
in this case, i’m using zsh so the shell conf file are located inside /home/USERNAME/