forked from p15670423/monkey
Island: Remove updating agent configuration with stolen credentials
This commit is contained in:
parent
f5134f1d3b
commit
dabc3cb004
|
@ -153,10 +153,6 @@ class ConfigService:
|
|||
item_value = get_datastore_encryptor().encrypt(item_value)
|
||||
mongo.db.config.find_one().update({"$addToSet": {item_key: item_value}}, upsert=False)
|
||||
|
||||
mongo.db.monkey.update(
|
||||
{}, {"$addToSet": {"config." + item_key.split(".")[-1]: item_value}}, multi=True
|
||||
)
|
||||
|
||||
@staticmethod
|
||||
def creds_add_username(username):
|
||||
ConfigService.add_item_to_config_set_if_dont_exist(
|
||||
|
|
Loading…
Reference in New Issue