forked from p34709852/monkey
Small CR changes
This commit is contained in:
parent
5f53ea995c
commit
4833ec906a
|
@ -20,8 +20,8 @@ class T1156(AttackTechnique):
|
||||||
'ips': [{'$arrayElemAt': ['$data.ip', 0]}]},
|
'ips': [{'$arrayElemAt': ['$data.ip', 0]}]},
|
||||||
'result': '$data.result'}},
|
'result': '$data.result'}},
|
||||||
{'$unwind': '$result'},
|
{'$unwind': '$result'},
|
||||||
{'$match': {'$or': [{'result': {'$regex': '\.bash'}}, # noqa: W605
|
{'$match': {'$or': [{'result': {'$regex': r'\.bash'}},
|
||||||
{'result': {'$regex': '\.profile'}}]}}] # noqa: W605
|
{'result': {'$regex': r'\.profile'}}]}}]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_report_data():
|
def get_report_data():
|
||||||
|
|
|
@ -20,7 +20,7 @@ class T1504(AttackTechnique):
|
||||||
'ips': [{'$arrayElemAt': ['$data.ip', 0]}]},
|
'ips': [{'$arrayElemAt': ['$data.ip', 0]}]},
|
||||||
'result': '$data.result'}},
|
'result': '$data.result'}},
|
||||||
{'$unwind': '$result'},
|
{'$unwind': '$result'},
|
||||||
{'$match': {'result': {'$regex': 'profile\.ps1'}}}] # noqa: W605
|
{'$match': {'result': {'$regex': r'profile\.ps1'}}}]
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_report_data():
|
def get_report_data():
|
||||||
|
|
Loading…
Reference in New Issue