#2689 General improvements.

1. Abstract TAP now handles .apply_timestep
2. Expanded tests
3. Added pydantic model for c2 configuration.
This commit is contained in:
Archer Bowen
2024-08-09 17:53:47 +01:00
parent ab91f993a5
commit 53433ce7b6
8 changed files with 421 additions and 194 deletions

View File

@@ -12,6 +12,12 @@ class MasqueradePacket(DataPacket):
masquerade_port: Enum # The 'Masquerade' port that is currently in use
class C2Packet(MasqueradePacket):
"""Represents C2 suite communications packets."""
payload_type: Enum # The type of C2 traffic (e.g keep alive, command or command out)
command: Optional[Enum] = None # Used to pass the actual C2 Command in C2 INPUT
keep_alive_frequency: int