From 483bd943bde36e34369aa0af9887aa3f671a3427 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Tue, 6 Sep 2022 12:14:52 +0000 Subject: [PATCH] Agent: Rename tcp.py to sockets_pipe.py --- monkey/infection_monkey/network/relay/__init__.py | 2 +- .../infection_monkey/network/relay/{tcp.py => sockets_pipe.py} | 0 monkey/infection_monkey/network/relay/tcp_pipe_spawner.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename monkey/infection_monkey/network/relay/{tcp.py => sockets_pipe.py} (100%) diff --git a/monkey/infection_monkey/network/relay/__init__.py b/monkey/infection_monkey/network/relay/__init__.py index 5817c0a15..737d5baf1 100644 --- a/monkey/infection_monkey/network/relay/__init__.py +++ b/monkey/infection_monkey/network/relay/__init__.py @@ -1,5 +1,5 @@ from .relay_connection_handler import RelayConnectionHandler from .relay_user_handler import RelayUser, RelayUserHandler +from .sockets_pipe import SocketsPipe from .tcp_connection_handler import TCPConnectionHandler -from .tcp import SocketsPipe from .tcp_pipe_spawner import TCPPipeSpawner diff --git a/monkey/infection_monkey/network/relay/tcp.py b/monkey/infection_monkey/network/relay/sockets_pipe.py similarity index 100% rename from monkey/infection_monkey/network/relay/tcp.py rename to monkey/infection_monkey/network/relay/sockets_pipe.py diff --git a/monkey/infection_monkey/network/relay/tcp_pipe_spawner.py b/monkey/infection_monkey/network/relay/tcp_pipe_spawner.py index 651043380..22183dd6c 100644 --- a/monkey/infection_monkey/network/relay/tcp_pipe_spawner.py +++ b/monkey/infection_monkey/network/relay/tcp_pipe_spawner.py @@ -2,7 +2,7 @@ import socket from ipaddress import IPv4Address from typing import List -from .tcp import SocketsPipe +from .sockets_pipe import SocketsPipe class TCPPipeSpawner: