Metasploit mailing list archives

Re: Probmen starting Armitage on Backtrack 4 R2


From: Luiz <luizwt () gmail com>
Date: Sun, 6 Feb 2011 10:24:34 -0200

Hi Juan, 
The correct command to enter in mysql is only:
# mysql -u root -p

When the mysql ask for password you enter "toor".

there's no necessity to make this for use armitage, cause the program make connection automatically if mysql has 
started before with:
# /etc/init.d/mysql start

Luiz

Enviado via iPhone

Em 06/02/2011, às 02:00, Juan B <juanbabi () yahoo com> escreveu:

Hi all

I trying to start armitage on BT 4 so Im follwing this insturictions from http://www.fastandeasyhacking.com/manual
it says:

Metasploit has an RPC daemon that can accept local and remote connections. To start the Metasploit RPC daemon:

cd /pentest/exploits/framework3
./msfrpcd -f -U msf -P test -t Basic

This will start msfrpcd with the user msf, password test, SSL listener, on the default port 55553.

Optionally, you can use the Start MSF button to launch Metasploit for you. You'll still need to enter your database 
information. I recommend launching the Metasploit daemon separately though. If something happens to Armitage, you can 
reconnect to the Metasploit RPC daemon and all of your sessions and information will still be there.

If you have BackTrack R42, use the MySQL database. It's already configured. Start it with /etc/init.d/mysql start. 
Then use root as the username, toor as the password, 127.0.0.1 as your host, and any name you choose as your database 
name.

You should not use the SQLite database with Armitage.

Once you have a database, navigate to the folder containing the Armitage files and type:

./armitage.sh

so after starting de RPC deamon I issue the command:

mysql -u root -p toor
Enter password:
ERROR 1049 (42000): Unknown database 'toor'
root@bt:~# mysql -u root -p toor
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

what am I doing wrong?? how to startup the database??

thanks a lot !!

juan






_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework

Current thread: