Merge branch 'attack_pass_the_hash' into attack_comand_line_interface

# Conflicts:
#	monkey/monkey_island/cc/services/attack/technique_reports/__init__.py
This commit is contained in:
VakarisZ 2019-06-25 14:26:11 +03:00
commit f8d5247f81
1 changed files with 2 additions and 2 deletions

View File

@ -52,11 +52,11 @@ class AttackTechnique(object):
Gets the status of a certain attack technique. Gets the status of a certain attack technique.
:return: ScanStatus Enum object :return: ScanStatus Enum object
""" """
if mongo.db.attack_results.find_one({'telem_catagory': 'attack', if mongo.db.attack_results.find_one({'telem_category': 'attack',
'status': ScanStatus.USED.value, 'status': ScanStatus.USED.value,
'technique': cls.tech_id}): 'technique': cls.tech_id}):
return ScanStatus.USED return ScanStatus.USED
elif mongo.db.attack_results.find_one({'telem_catagory': 'attack', elif mongo.db.attack_results.find_one({'telem_category': 'attack',
'status': ScanStatus.SCANNED.value, 'status': ScanStatus.SCANNED.value,
'technique': cls.tech_id}): 'technique': cls.tech_id}):
return ScanStatus.SCANNED return ScanStatus.SCANNED