Kekoa Kaaikala
|
7ebc403029
|
Agent: Add docstrings to RelayConnectionHandler
|
2022-09-06 19:54:53 +00:00 |
Kekoa Kaaikala
|
efac1dae98
|
Agent: Pass correct type to add_potential_user()
|
2022-09-06 19:33:03 +00:00 |
Kekoa Kaaikala
|
bdc8de026e
|
Agent: Move TCPRelay into network.relay package
|
2022-09-06 19:26:26 +00:00 |
Kekoa Kaaikala
|
813c5f9d3b
|
Agent: Clarify exceptions in SocketsPipe._pipe()
|
2022-09-06 19:16:49 +00:00 |
Mike Salvatore
|
76fe0be990
|
Agent: Address addr type TODO in RelayConnectionHandler
|
2022-09-06 14:54:13 -04:00 |
Mike Salvatore
|
1cd544e227
|
Agent: Call mixin constructor in TCPConnectionHandler
|
2022-09-06 14:50:42 -04:00 |
Mike Salvatore
|
7edb15d825
|
Agent: Fix host/port initialization in TCPConnectionHandler
|
2022-09-06 14:43:23 -04:00 |
Mike Salvatore
|
17356ca079
|
Agent: Fix del_key() import in relay_user_handler.py
|
2022-09-06 14:42:53 -04:00 |
Mike Salvatore
|
017aabe8f7
|
Agent: Change relay__user_handler.DEFAULT_NEW_CLIENT_TIMEOUT
|
2022-09-06 14:35:49 -04:00 |
Kekoa Kaaikala
|
65f4edc625
|
Agent: Add InterruptableThreadMixin
|
2022-09-06 18:30:41 +00:00 |
Kekoa Kaaikala
|
066947c59f
|
Agent: Remove closed pipes from TCPPipeSpawner
|
2022-09-06 18:04:56 +00:00 |
Mike Salvatore
|
83cc5fc336
|
Agent: Fix Pipfile.lock
`pipenv install` was run on Linux without `--keep-outdated`, which
removed Windows-only dependencies. This commit fixes that.
|
2022-09-06 14:03:36 -04:00 |
Kekoa Kaaikala
|
c601f2214a
|
Agent: Use del_key instead of del
|
2022-09-06 16:39:41 +00:00 |
Kekoa Kaaikala
|
14de4db9fa
|
UT: Use more specific assert in test_connection_spawns_pipe
|
2022-09-06 16:25:37 +00:00 |
Kekoa Kaaikala
|
c021d54c05
|
Agent: Reduce relay shutdown responsiveness
|
2022-09-06 14:57:10 +00:00 |
Kekoa Kaaikala
|
e438a8b9c7
|
Agent: Use EggTimer
|
2022-09-06 14:41:17 +00:00 |
Kekoa Kaaikala
|
3ad96a7e6b
|
Agent: Simplify RELAY_CONTROL_MESSAGE import
|
2022-09-06 14:21:07 +00:00 |
Kekoa Kaaikala
|
b5345a38d9
|
Agent: Rename TCPConnectionHandler parameters
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
|
2022-09-06 14:20:11 +00:00 |
Kekoa Kaaikala
|
d7398e1014
|
Agent: Move keep_connection into the run() method
|
2022-09-06 14:03:17 +00:00 |
Kekoa Kaaikala
|
333e587aab
|
Agent: Use is_set() of threading.Event
|
2022-09-06 13:20:19 +00:00 |
Kekoa Kaaikala
|
906edf3662
|
Agent: Remove unneccessary call in SocketsPipe
|
2022-09-06 12:52:00 +00:00 |
Kekoa Kaaikala
|
311807cf31
|
Agent: Update RelayUserHandler docstrings
|
2022-09-06 12:48:19 +00:00 |
Kekoa Kaaikala
|
7a7ea96dbb
|
Agent: Set daemon thread in superclass constructor
|
2022-09-06 12:27:07 +00:00 |
Kekoa Kaaikala
|
483bd943bd
|
Agent: Rename tcp.py to sockets_pipe.py
|
2022-09-06 12:14:52 +00:00 |
Mike Salvatore
|
6abcaa9bd6
|
Agent: Remove extra newline in RelayConnectionHandler
|
2022-09-05 20:03:17 -04:00 |
Kekoa Kaaikala
|
5a8d8ccad5
|
Agent: Add name to SocketsPipe thread
|
2022-09-02 20:07:22 +00:00 |
Kekoa Kaaikala
|
72144faefc
|
Agent: Update TCPRelay to separate responsbilities
|
2022-09-02 19:58:01 +00:00 |
Kekoa Kaaikala
|
bbc9cf16e6
|
Agent: Add RelayConnectionHandler
|
2022-09-02 19:17:43 +00:00 |
Kekoa Kaaikala
|
b179f602c4
|
Agent: Give TCPConnectionHandler thread a name
|
2022-09-02 15:05:19 +00:00 |
Kekoa Kaaikala
|
62e4fb89bb
|
Agent: Inject dependencies into TCPRelay
|
2022-09-01 19:28:06 +00:00 |
Kekoa Kaaikala
|
46573c9f2d
|
UT: Add tests for RelayUserHandler
|
2022-09-01 19:24:13 +00:00 |
Kekoa Kaaikala
|
b1c1d2bd39
|
Agent: Allow callback registration on TCPConnectionHandler
|
2022-09-01 19:19:05 +00:00 |
Kekoa Kaaikala
|
ef39a8afd1
|
Agent: Add TCPPipeSpawner class
|
2022-09-01 19:15:23 +00:00 |
Kekoa Kaaikala
|
0e869462b5
|
Agent: Refactor TCPRelay
Integrate TCPConnectionHandler and RelayUserHandler into TCPRelay
Remove TCPProxy
|
2022-09-01 15:06:47 +00:00 |
Kekoa Kaaikala
|
d6931a6414
|
Agent: Clean up RelayUserHandler
Add get_potential_users and remove pipe handling
|
2022-09-01 15:03:16 +00:00 |
Ilija Lazoroski
|
15dee35aa4
|
Agent: Add RelayUserHandler
|
2022-09-01 16:02:27 +02:00 |
Kekoa Kaaikala
|
1f723b174e
|
Agent: Add TCPConnectionHandler
|
2022-09-01 13:54:17 +00:00 |
Kekoa Kaaikala
|
2e7be823a1
|
Agent: Revert old TcpProxy and create a new one
|
2022-09-01 13:14:07 +00:00 |
Ilija Lazoroski
|
c9b7f924a3
|
UT: Fix ExploitingInterceptingTelemetryMessenger tests
|
2022-09-01 13:58:14 +02:00 |
Ilija Lazoroski
|
eee06467f6
|
Agent: Add TODO to rethink on_user_disconnected
|
2022-09-01 13:44:39 +02:00 |
Ilija Lazoroski
|
508b811939
|
Agent: Rename on_user_connected to add_relay_user
|
2022-09-01 13:41:50 +02:00 |
Ilija Lazoroski
|
43a1ddb714
|
Agent: Rename on_potential_new_user to add_potential_user
|
2022-09-01 13:38:31 +02:00 |
Ilija Lazoroski
|
a754963222
|
Agent: Remove on_user_disconnected in TCPRelay
|
2022-09-01 13:32:07 +02:00 |
Ilija Lazoroski
|
6e0dc0ca13
|
Agent: Use super().__init__(...) in TCPRelay
|
2022-09-01 13:27:40 +02:00 |
Ilija Lazoroski
|
9fae6cca20
|
Agent: Use dictionary for relay and potential users in TCPRelay
|
2022-09-01 12:56:26 +02:00 |
Ilija Lazoroski
|
9a3afb051d
|
Agent: Use IPv4Address for RelayUser.address
|
2022-09-01 12:10:21 +02:00 |
Ilija Lazoroski
|
1d394bbd2e
|
Agent: Fix docstrings in TCPRelay
|
2022-09-01 11:39:25 +02:00 |
Ilija Lazoroski
|
d478e99227
|
Agent: Make TCPRelay non-optional in ExploitInterceptingTelemetryMessenger
|
2022-09-01 11:29:03 +02:00 |
Ilija Lazoroski
|
ecdf04a85e
|
Agent: Change relay control message
'-' to 'infection-monkey-relay-control-message: -'
|
2022-09-01 10:35:29 +02:00 |
Ilija Lazoroski
|
94fba0fdf0
|
Agent: Rename RelayUser.time to last_update_time
|
2022-09-01 10:17:13 +02:00 |