From 83f544c9f26dd7e186597fabfa5d120e8336ec71 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Thu, 17 Feb 2022 16:58:41 +0530 Subject: [PATCH] Island: Rename mongo query variable in T1082.py --- .../cc/services/attack/technique_reports/T1082.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py b/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py index 1fa81f4ed..4c79916ef 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/T1082.py @@ -56,7 +56,7 @@ class T1082(AttackTechnique): {"$replaceRoot": {"newRoot": "$_id"}}, ] - query_for_pbas = [ + query_for_running_processes_list = [ { "$match": { "$and": [ @@ -93,7 +93,7 @@ class T1082(AttackTechnique): ScanStatus.USED.value if system_info_data else ScanStatus.UNSCANNED.value ) - pba_data = list(mongo.db.telemetry.aggregate(T1082.query_for_pbas)) + pba_data = list(mongo.db.telemetry.aggregate(T1082.query_for_running_processes_list)) successful_PBAs = mongo.db.telemetry.count( { "$and": [