Inguma/CLI/KB-report

From aldeid
Jump to navigation Jump to search
You are here:
KB & Report

KB

Show KB

The Knowledge Base (KB) keeps track of the information gathered during an Inguma session: discovered hosts, ports, vulnerabilities, ...

Here is an example. Initially, the KB is empty, as shown below:

inguma> show KB
target -> 
covert -> 0
wizard:
base_path -> .
targets:
waittime -> 
hosts:
user -> 
timeout -> 5
services:
dict -> .data/dict
password -> 
port -> 
isGui -> False
ports:
   15
   21
   22
   23
   24
   25

After a autoscan:

inguma> show KB
192.168.1.254_mac:
   f4:ca:e5:**:**:**
target -> 
192.168.1.254_os:
   Borderware 6.0.2 firewall
   Unix
covert -> 0
wizard:
base_path -> .
targets:
waittime -> 
192.168.1.254_smb:
   {'domain': 'WORKGROUP', 'server_name': '<Unknown>', 'lanman': 'Samba 3.0.37', 'login_required': True, 'key': 31016, 'time': (1320776291.956299, 'mar., 08 nov. 2011 18:18:11'), 'os': 'Unix'}
hosts:
   192.168.1.254
user -> 
timeout -> 5
192.168.1.254_promisc:
   True
services:
dict -> .data/dict
192.168.1.254_mac_vendor:
   Unknown
password -> 
port -> 
isGui -> False
ports:
   15
   21
   22
   23
   24
   25
(...TRUNCATED...)

Load KB

This feature enables to load data from a previous session. To load a session, proceed as follows:

inguma> load KB
* Warning! Warning! Warning! Warning! Warning! Warning! *
*** Never load kb files received from untrusted sources ***
Filename [data.kb]: test.kb
Setting target (192.168.1.254)

Save KB

This feature enables to save gathered data during an Inguma session to be able to load these data in a future session.

inguma> save KB
Filename [data.kb]: test.kb

Clear KB

This feature will clear the current KB. All gathered data will be lost.

inguma> clear KB
inguma> show KB
target -> 
covert -> 0
wizard:
base_path -> .
waittime -> 
user -> 
timeout -> 5
services:
password -> 
port -> 

Report

This generates a report from the data gathered during the session.

Warning
There is a bug in this module. See here: http://inguma.eu/issues/97