Closed GoogleCodeExporter closed 8 years ago
Two things:
1) What does it mean to register msfrpcd? Did you click Yes to let Armitage
start msfrpcd for you? If you didn't let armitage start msfrpcd for you (e.g.,
you had another tool do it, did it yourself) then this might be your problem.
2) What does it say in the console where you started armitage? Are there any
errors?
I suspect this is an issue with your database. Armitage is connected to
metasploit, it's trying to connect to your database. There used to be an issue
where I wasn't displaying a db error properly (but this was in an older version
of armitage--I assume you're using the version shipped with metasploit, if
you're not--why?)
Make sure your database is started. If you installed metasploit, make sure you
have a database startup script, as described in the manual:
http://www.fastandeasyhacking.com/manual#linux
Original comment by rsmu...@gmail.com
on 6 Aug 2012 at 2:47
1) Yes, I check "yes" and armitage start msfrpcd for me.
2) In the console no any errors show
I'm using armitage shipped with metasploit version.
My database is started with official script (ubuntu install create that for me).
I have already installed armitage with debian stable version and all work, but,
in my case, I migrate to Ubuntu and armitage doesn't work.
Actually msfconsole and msfgui work and I connect correctely to the database.
But armitage doesn't work
Have you another idea ? Thanks in advance.
Original comment by s...@white-hats.fr
on 6 Aug 2012 at 4:06
How are you starting Armitage? Some people do:
cd /opt/metasploit/msf3
./armitage
This is *wrong*. Don't do it. If you type:
armitage
This is correct.
Armitage needs to find a database config file. Usually it's in:
/opt/metasploit/config/database.yml.
If for some reason armitage can't find it or read it, then armitage can't
connect to the database for you. This happens when your environment is setup
wrong, you start Armitage wrong, or you're not root when you start armitage.
Armitage must be run *as* root.
You can try sudo armitage, but if that doesn't work... sudo /bin/bash and run
armitage from there.
msfgui and msfconsole are different... they rely on the metasploit framework to
connect to the database for them.
Armitage connects to the database directly. This is where you're having trouble
in the startup process.
Original comment by rsmu...@gmail.com
on 6 Aug 2012 at 4:40
yes sure I launch armitage with armitage command correctely.
And all parameters are correctly declared ($MSF_DATABASE_CONFIG)...
In fact I used as follow :
sudo su root (z shell)
and try armitage
I have tested too :
sudo /bin/bash
uid=0(root) gid=0(root) groups=0(root)
I redeclare MSF_DATABASE_CONFIG
and try armitage
and the same result...
I have installed metasploit from svn source, not by installer.
And I have declared symbolic link for armitage in /usr/local/sbin.
I am confused!
Original comment by s...@white-hats.fr
on 6 Aug 2012 at 6:33
I'm not confused. I do NOT provide support for manual Metasploit Framework
installations. There is an alternative that works, use the installer.
If you want to install manually, that's fine. However, if something goes wrong,
I can't help you. Why? I have no idea which steps you took, which dependencies
you installed, etc. It's really unfair to expect me to second guess my
software when your environment could be anything.
Original comment by rsmu...@gmail.com
on 6 Aug 2012 at 7:37
Original issue reported on code.google.com by
s...@white-hats.fr
on 6 Aug 2012 at 1:07Attachments: