#2706 - Removed source and target ip_address attributes from the SSHPacket Class. Terminal now uses session_id to send login outcome. No more network_interface[1].ip_address.

This commit is contained in:
Charlie Crane
2024-08-02 09:13:31 +01:00
parent 19d7774440
commit 0fe61576c7
2 changed files with 53 additions and 66 deletions

View File

@@ -1,7 +1,6 @@
# © Crown-owned copyright 2024, Defence Science and Technology Laboratory UK
from enum import IntEnum
from ipaddress import IPv4Address
from typing import Optional
from primaite.interface.request import RequestResponse
@@ -68,12 +67,6 @@ class SSHUserCredentials(DataPacket):
class SSHPacket(DataPacket):
"""Represents an SSHPacket."""
sender_ip_address: IPv4Address
"""Sender IP Address"""
target_ip_address: IPv4Address
"""Target IP Address"""
transport_message: SSHTransportMessage
"""Message Transport Type"""