vakaris_zilius
|
895de8c720
|
Common: Delete IJSONSerializable.py
This interface is no longer used (replaced by pydantic objects)
|
2022-09-07 13:19:39 +00:00 |
vakaris_zilius
|
b7e6435ced
|
UI: Delete InternalConfig.js
This is no longer used, advanced tab only contains a couple of fields now
|
2022-09-07 13:17:01 +00:00 |
vakaris_zilius
|
c73fe7a3a9
|
Island: Remove unused CustomJSONEncoder
This is replaced by APIEncoder in representations.py
|
2022-09-07 13:16:57 +00:00 |
Mike Salvatore
|
d39d6ea10f
|
Merge pull request #2240 from guardicore/2217-pydantic-credentials
2217 pydantic credentials
|
2022-09-07 09:10:56 -04:00 |
vakaris_zilius
|
d7dde14cae
|
Agent, Island: Update pydantic version to 1.10.2 from 1.9.2
|
2022-09-07 13:01:46 +00:00 |
vakaris_zilius
|
adca1683c8
|
UI: Improve style in ReformatHook.js
|
2022-09-07 13:01:46 +00:00 |
Mike Salvatore
|
1fc0718554
|
Agent: Use isinstance() to check if identity is Username
|
2022-09-07 07:50:39 -04:00 |
vakaris_zilius
|
c8f131e6b0
|
Common: Small style improvements in credentials.py
|
2022-09-07 11:48:34 +00:00 |
vakaris_zilius
|
5608bb3f11
|
Common, Agent: Rename get_plain_text to get_plaintext
|
2022-09-07 11:48:34 +00:00 |
vakaris_zilius
|
6e254c71d7
|
Common: Fix failing UT and add more for get_plain_text
|
2022-09-07 11:48:34 +00:00 |
vakaris_zilius
|
dc8e644bc5
|
UT: Fix some of powershell UT's
|
2022-09-07 11:48:33 +00:00 |
vakaris_zilius
|
ece4d9383e
|
Agent, Common: Refactor pydantic credentials to use SecretStr
|
2022-09-07 11:48:33 +00:00 |
Mike Salvatore
|
17e3b3d205
|
UT: Add `simplify=True` to Credentials serialization
|
2022-09-07 11:48:33 +00:00 |
Mike Salvatore
|
646b3a1b46
|
BB: Add `simplify=True` to Credentials serialization
|
2022-09-07 11:48:33 +00:00 |
Mike Salvatore
|
8fd226cd23
|
UT: Add safety test since we will switch to pydantic.SecretType
|
2022-09-07 11:48:33 +00:00 |
vakaris_zilius
|
b08097b131
|
Island, Common: Small style improvements
|
2022-09-07 11:48:33 +00:00 |
vakaris_zilius
|
16a59a3f5a
|
UT: Fix typehint in credentials conftest.py
|
2022-09-07 11:48:33 +00:00 |
vakaris_zilius
|
233090942a
|
Agent: Use issintance instead of type comparison in credential repo
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
792895a25c
|
UI: Improve the naming/handling of credential types in the UI
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
9fb2804202
|
Agent: Use SecretStr and SecretBytes instead of SecretField
SecretField is a base type for secrets, but it doesn't seem to be exported. When the agent is ran, this import fails
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
472ca382f1
|
Island, BB: Fix credential conversion to dict bugs
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
e5574240e9
|
Island, Agent: Change json encryptors to handle pydantic models
|
2022-09-07 11:48:32 +00:00 |
vakaris_zilius
|
7dba3c4fed
|
UI: Remove duplicate credentials from report
|
2022-09-07 11:48:31 +00:00 |
vakaris_zilius
|
9cc11f6a09
|
Island: Remove misleading comment
|
2022-09-07 11:48:31 +00:00 |
vakaris_zilius
|
f1b8ad373b
|
Island: Fix bug in credentials_parser.py
|
2022-09-07 11:48:31 +00:00 |
vakaris_zilius
|
ed24108bfa
|
Project: Add temporary IJSONSerializable ignore
|
2022-09-07 11:48:28 +00:00 |
vakaris_zilius
|
d347521a29
|
Island, Agent: Fix bugs in credential object creation
|
2022-09-07 11:47:56 +00:00 |
vakarisz
|
7149c704a2
|
Island, Agent: Fix credential parsing to match pydantic syntax
|
2022-09-07 11:47:56 +00:00 |
vakarisz
|
d73cbee591
|
Agent, Island: Use pydantic credentials and methods
Since the interface of credential serialization changed, code was modified to use the new interface
|
2022-09-07 11:47:56 +00:00 |
vakarisz
|
f018b85f56
|
UT: Add nt/lm hash unit test and data
|
2022-09-07 11:47:55 +00:00 |
vakarisz
|
12bc514a92
|
Agent: Remove unused ransomware directory
|
2022-09-07 11:47:55 +00:00 |
vakarisz
|
f868f03ea7
|
Common: Refactor credentials from marshmallow to pydantic
|
2022-09-07 11:47:53 +00:00 |
vakarisz
|
3ac60988a8
|
Common: Replace credentials dataclasses with pydantic dataclasses
For pydantic to work properly, the models need to either use pydantic version of dataclass or inherit BaseModel, but not both. https://pydantic-docs.helpmanual.io/usage/dataclasses/
|
2022-09-07 11:46:38 +00:00 |
Kekoa Kaaikala
|
1e0b26af8b
|
Agent: Add docstring to SocketsPipe
|
2022-09-06 19:55:25 +00:00 |
Kekoa Kaaikala
|
7ebc403029
|
Agent: Add docstrings to RelayConnectionHandler
|
2022-09-06 19:54:53 +00:00 |
Mike Salvatore
|
5972f87391
|
Merge pull request #2245 from guardicore/2233-island-event-queue
Add IIslandEventQueue
|
2022-09-06 15:34:49 -04: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
|
205848f2a5
|
Project: Remove PyPubSubIslandEventQueue from vulture_allowlist.py
|
2022-09-06 15:13:35 -04:00 |
Mike Salvatore
|
166588d00d
|
Project: Remove PyPubSubAgentEventQueue from vulture_allowlist.py
|
2022-09-06 15:12:37 -04:00 |
Mike Salvatore
|
aee4887b64
|
Island: Fix island event queue import
|
2022-09-06 15:11:02 -04:00 |
Mike Salvatore
|
84aa993a8b
|
Island: Improve `event` docstring in IIslandEventQueue
|
2022-09-06 15:08:50 -04:00 |
Mike Salvatore
|
01ff1711c6
|
Merge pull request #2246 from guardicore/2233-pypubsubislandeventqueue
Add PyPubSubIslandEventQueue
|
2022-09-06 15:06:08 -04:00 |
Mike Salvatore
|
4e4331c5c3
|
Common: s/event/kwargs in PyPubSubPublisherWrapper comment
|
2022-09-06 15:05:29 -04:00 |
Mike Salvatore
|
1036189fcc
|
Island: Rename _pypubsub_publisher_wrappe{d,r}
|
2022-09-06 15:01:10 -04:00 |
Mike Salvatore
|
b16d19e0ed
|
Common: Rename _pypubsub_publisher_wrappe{d,r}
|
2022-09-06 15:00:24 -04: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 |