VerboseFSRed
Bases: FiniteStateRedAgent
A variant of the FiniteStateRedAgent that outputs success, action and internal observation knowlege to the terminal.
Example:
** Turn 0 for red_agent_0 **
Action: Initial Observation
Action Success: UNKNOWN
Observation:
{'contractor_network_subnet_user_host_5': {
'Interface': [{'Subnet': IPv4Network('10.0.171.0/24'),
'interface_name': 'eth0',
'ip_address': IPv4Address('10.0.171.186')}],
'Processes': [{'PID': 8888,
'username': 'ubuntu'}],
'Sessions': [{'PID': 8888,
'Type': <SessionType.RED_ABSTRACT_SESSION: 10>,
'agent': 'red_agent_0',
'session_id': 0,
'timeout': 0,
'username': 'ubuntu'}],
'System info': {'Architecture': <Architecture.x64: 2>,
'Hostname': 'contractor_network_subnet_user_host_5',
'OSDistribution': <OperatingSystemDistribution.UBUNTU: 8>,
'OSType': <OperatingSystemType.LINUX: 3>,
'OSVersion': <OperatingSystemVersion.UNKNOWN: 1>,
'position': array([0., 0.])},
'User Info': [{'Groups': [{'GID': 0}],
'username': 'root'},
{'Groups': [{'GID': 1}],
'username': 'user'}]}}
Host States:
{'10.0.171.186': {'hostname': 'contractor_network_subnet_user_host_5',
'state': 'U'}}