UP an Running with ARMITAGE

Started by ghostdog, December 22, 2010, 01:16:02 PM

Previous topic - Next topic

ghostdog

NB: before you start, visit this page : http://code.google.com/p/armitage/   , so you know what you doing !


Ok, let's start.

Create a Directory like this : root@backbox:/home/ghostdog#mkdir /pentest/exploits

* Download " armitage "  extract it .
* move  " armitage and framework3 to /pentest/exploits.

Now you have 2 folders called " armitage " and " framework3".

* Create a postgesql database ( follow the tutorial here :  http://www.backbox.org/public/content/howto-metasploit-3-autopwn ).

Armitage communicates with Metasploit via the RPC daemon so we need to start that next.

root@backbox:/home/ghostdog#msfrpcd -f -U msf -P test -t Basic
  • XMLRPC starting on 0.0.0.0:55553 (SSL):Basic...

    Next, we need to start our MYSQL server so Armitage has a place to store its results.

    root@backbox:/home/ghostdog# /etc/init.d/mysql start
    Starting MySQL database server: mysqld.
    Checking for corrupt, not cleanly closed and upgrade needing tables..

    *Lastly, we need to run "armitage.sh" from the /pentest/exploits/armitage directory at which point, we are presented with the connection dialog.

    root@backbox:/home/ghostdog# cd /pentest/exploits/armitage
    root@backbox:/home/ghostdog# /pentest/exploits/armitage# ./armitage.sh

    We select the "Use SSL" checkbox, verify the rest of the settings and click "Connect". Afterwards, the main Armitage window is displayed.

    NB : You can alternate the databases to use, Armitage works best with " Postgresql " database, so you just
            have to change connection settings : username, password and port 5432.

    Happy Hacking
    GD