
Missing in Action: Armitage on Kali Linux
March 13, 2013As you may know, the highly anticipated Kali Linux is now available. If you’ve fired it up, you may notice it’s missing a familiar tool. Armitage is not present. The Kali Linux team added an Armitage package to its repository today. To get it:
apt-get install armitage
Before you start Armitage, make sure the postgresql database is running:
service postgresql start
If you get a missing database.yml error, type:
service metasploit start
Update 22 May 13 – The Getting Started with Armitage and the Metasploit Framework (2013 Edition) is now up to date with instructions for Kali Linux. I recommend giving it a read.
I just installed Kali Linux and I did notice Armitage wasn’t there right away. I tried the following commands as you stated:
> service postgresql start
> apt-get install armitage
But it doesn’t work, the following response from the above commands:
“E: Unable to locate package armitage”
I double checked internet connection as well. Is there something I am missing?
It’s probably something that you’re missing. I just got Kali Linux today too. I’m not an expert in everything that can go wrong for you. Which architecture are you trying it on? If it’s not x86 or x64, I’d expect it to fail. If you find yourself stuck, ask on the Kali Linux forums for now.
I should add, you can just download Armitage from http://www.fastandeasyhacking.com/download and use it too.
perhaps you just didnt ‘apt-get update’ first…
I’m curious why Armitage got left off the build… Surprising decision given the popularity of the tool…
see the source list file
http://pastebin.com/5cUsiBZr
I hate the same problem trying to install armitage, that is until I restarted the vm after the install. I installed Kali on 2 machines, the first one wasn’t fun, the second one was fine after the restart. apt-get install armitage worked and launching was not a problem. Everything needed was started 🙂 Now time to figure out how to put my shortcuts back on the desktop.
If you do and apt-get update and then apt-get dist-update armitage is installed automagically:
apt-get dist-upgrade
Reading package lists… Done
Building dependency tree
Reading state information… Done
Calculating upgrade… Done
The following NEW packages will be installed:
armitage
The following packages will be upgraded:
apktool exploitdb hashcat kali-linux kali-menu linux-headers-3.7-trunk-686-pae linux-headers-3.7-trunk-common
linux-image-3.7-trunk-686-pae linux-libc-dev maskprocessor oclhashcat-lite oclhashcat-plus tasksel tasksel-data
14 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
service postgresql start && service metasploit start
update-rc.d postgresql enable && update-rc.d metasploit enable
to make it starts at boot
Yeah… I jumped into Kali and went to Armitage first. I got the error “I can not find a database.yml file. I *really* need it.\nTry setting MSF_DATABASE_CONFIG to a file that exists.” when I tried starting the teamserver. It turned out that doing what you mentioned was the fix.
Sorry I didn’t check back from my post a few weeks ago. I had all sorts of problems when initially downloading the iso of Kali. After fixing small problem one after another I finally just gave up and downloaded the VM image and everything started working no problem.
Thanks for the help
It not work for me
But what i did go for /etc/rc.local
and add
service postgresql start && service metasploit start
and all start work for me.
service metasploit start is necessary once and only once. It also starts the commercial stuff that Armitage doesn’t use. You’re just wasting memory and CPU letting it run. Armitage is capable of starting msfrpcd, to its specifications, for you. I really recommend letting it do so.
SMH you guys are the best just when i think i cant get something to work right the armitage team always seem to set things str8 rapheal i wish you good success hope you get where your trying to take this armitage project .also thanks to the armitage team everyone who take the time out to answer these questions very very helpful
Thank you. I appreciate it.