armitage
armitage copied to clipboard
armitage connection to db
Hi,
I am running Kali 2018 and Metasploit 4.16.64. My problem is that, Armitage wont connect to db.
I use defoult settings:
host 127.0.0.1 port 55553 user msf pass test
error is that it can not find database.yml file
I try to type msfdb init
ang getting
metasploit running on kali linux as root using system database A database appears to be already configured, skipping initialization
I am running armitage as root.
I also try to change port to 5432 and 5433 with no success.
Metasplit is working fine on that box.
What else should I try?
i have the same problem
yeah it looks like an awesome tool i get the same message and I can't figure out how to ge MSF_DATABASE_CONFIG to $PATH i think is what tt is..
where is MSF_DATABASE_CONFIG?
you should try this from beginning ;
Start the PostgreSQL Database
systemctl start postgresql
Initialize the Metasploit Framework Database
msfdb init
Start Armitage
armitage
you should try this from beginning ;
Start the PostgreSQL Database
systemctl start postgresql
Initialize the Metasploit Framework Database
msfdb init
Start Armitage
armitage
That doesnt work for me i still get the same errors
pls help i cant get it fixed
Hello, Try guys to:
[A] Run Postgresql for metasploit:
sudo service postgresql start
service postgresql status
if running - ok, if not try again
[B] Initialize MSF db:
sudo msfdb init
msfconsole -q -x "db_status"
[C] Run MSFRPCD (metasploit RPC daemon):
sudo msfrpcd -P test
Important things:
- the password might be "test" or any other shared password specified by you to remotely connect to msfrpc deamon :-)
- watch the output - it should give you basic information about connection (0.0.0.0:55553) by default etc
[D] Run Armitage
armitage
And then provide shared password and your username 👍 follow steps:
graph TD;
A-->B;
B-->C;
Should be working!
worked!
Hello, Try guys to:
[A] Run Postgresql for metasploit:
sudo service postgresql start service postgresql status
if running - ok, if not try again
[B] Initialize MSF db:
sudo msfdb init msfconsole -q -x "db_status"
[C] Run MSFRPCD (metasploit RPC daemon):
sudo msfrpcd -P test
Important things:
- the password might be "test" or any other shared password specified by you to remotely connect to msfrpc deamon :-)
- watch the output - it should give you basic information about connection (0.0.0.0:55553) by default etc
[D] Run Armitage
armitage
And then provide shared password and your username +1 follow steps:
Should be working!
WORKED! But UI doesn't showing up :|