View Issue Details

IDProjectCategoryView StatusLast Update
0003832Kali LinuxKali Package Bugpublic2017-01-27 13:46
Reportervanguard Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2016.2 
Summary0003832: Armitage does not show hosts in graph window
Description

Dear maintainers,

after adding a host either by adding manually or via nmap/mfc there are no icons shown in the graph menu.

However, nmap does see all hosts and also sees open ports. I found several reports at a google search, but no solution to this.

It would be nice, if you could take a look at it.

I also looked at a report related to this behavior, but found none.

Steps To Reproduce

Start /etc/init.d/postgresql from console.
Start armitaghe either from console or menu.
Wait until it is connected to msf3.
Scan for hosts or add manually.

Activities

vanguard

vanguard

2017-01-13 22:39

reporter   ~0006247

Found this information, please see my comments each below:

  1. Armitage does not display hosts from the database

Type hosts in the Metasploit Framework console. If you see hosts there, but not in Armitage, you have this issue. There are three possible causes:

The first (possible) cause is you are using the Metasploit Framework's workspaces (the workspace command). Armitage is not compatible with the Metasploit Framework's concept of workspaces. You must leave this at default and not change it.


This is, what I did!


The second potential cause is that Armitage is not using the same database configuration as the Metasploit Framework. This is driven by the database.yml file in your Metasploit Framework environment. Type db_status in a Metasploit Framework console and verify that this is the same database Armitage uses (go to Armitage -> Preferences and find the connect.db_connect.string value).


I found:

msf> db_status
[*] postgresql connected to msf3

and in preferences

db_connect string msf:"gtkw7HajGCR2jxn4PAc15h6Sy4GQlQdhFVdDfjmPn4w="@localhost:5432/msf

However, I changed this to "msf3", but at next start, the above string appeared again.


The third potential cause is that Metasploit made two default workspaces for you. Why? I don't know. This messes up things with Armitage though. Type workspace. If you see two workspaces with the name default, then this bit you. To fix it, type: workspace -D and restart Armitage.


Checked it, but I only saw one default.

msf > workspace

  • default

I hope this helps!

Best

Hans

vanguard

vanguard

2017-01-15 12:29

reporter   ~0006251

Discovered the following:

With kali-livefile + LXDE armitage does not show icons.
With kali-livefile + XFCE armitage does show icons (just by chance???)

I also reinitialized the database (msfdb reinit) = no success
and then deleteted and created a new one (msfdb delete && msfdb create && msfdb start) = no success

Trying more, if I know more, I will send.

Hans

vanguard

vanguard

2017-01-16 08:19

reporter   ~0006256

Fixed it by myself.

Removed and purged armitage, then reinstalled.
After this did also "aptitude purge ~c"to get rid of old configurations. Looks like it is working again, but found not the cause for the issue. That is sad, caus I have nothing learnt at.

However, bug can be closed for now.

Issue History

Date Modified Username Field Change
2017-01-13 21:08 vanguard New Issue
2017-01-13 22:39 vanguard Note Added: 0006247
2017-01-15 12:29 vanguard Note Added: 0006251
2017-01-16 08:19 vanguard Note Added: 0006256
2017-01-27 13:46 sbrun Status new => closed
2017-01-27 13:46 sbrun Resolution open => no change required