Author Topic: [SOLVED] Problem Armitage  (Read 1697 times)

storm

  • Newbie
  • *
  • Posts: 5
    • View Profile
on: May 25, 2016, 11:30:43 PM
Sorry I just started, excuse the disorder.
I have a problem with armitage, I tried to start with sudo -E, nothing.
Bind the database
« Last Edit: August 01, 2016, 07:39:18 PM by ZEROF »



ZEROF

  • Hero Member
  • *****
  • Posts: 1245
    • View Profile
    • Pen Tester
Reply #1 on: May 26, 2016, 12:54:23 AM
Hi,

Yep, that is because you need to do few things ... some changes are and will be made in the future by metasploit devs, but you can do this before that.

1. Start postgreql from Menu>Services>PostgreSQL>use restart option
2. Run msfconsole (maybe just before that run msfupdate for any case you didn't run upgrade for long time)
3. Inside msfconsole type db_connect
4. Check if connected in same window type db_status
5. Run Armitage

This is how i pull over this "error".

Cheers!
« Last Edit: May 26, 2016, 01:23:41 AM by ZEROF »


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*


storm

  • Newbie
  • *
  • Posts: 5
    • View Profile
Reply #2 on: May 26, 2016, 03:09:32 PM
Thank you very much for your kind response.
Metasploit starts correctly, the database was created, I rebooted and reinstalled the services armitage but nothing.
Perhaps there is a configuration error, sorry again.



ZEROF

  • Hero Member
  • *****
  • Posts: 1245
    • View Profile
    • Pen Tester
Reply #3 on: May 28, 2016, 07:47:16 AM
Hi,

I think that you made to many changes on your side, your /opt/metasploit-framework/config/database.yml file don't have default infomation at all. That file need to look as:

http://pastie.org/private/5mgddoqknpndjb9veqhwg

You made custom changes on your system now you need to deal with them, I don't see how we can help you on that. On my side armitage is working out of box. Read this "how to" to see if you can get some info how to fix your issue:

http://www.fastandeasyhacking.com/start


Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*