forked from p34709852/monkey
Island: Fix attack technique T1210
This commit is contained in:
parent
a0b5ac2330
commit
03178b6011
|
@ -61,7 +61,7 @@ class T1210(AttackTechnique):
|
|||
def get_exploited_services():
|
||||
results = mongo.db.telemetry.aggregate(
|
||||
[
|
||||
{"$match": {"telem_category": "exploit", "data.result": True}},
|
||||
{"$match": {"telem_category": "exploit", "data.exploitation_result": True}},
|
||||
{
|
||||
"$group": {
|
||||
"_id": {"ip_addr": "$data.machine.ip_addr"},
|
||||
|
|
|
@ -24,7 +24,7 @@ def process_exploit_telemetry(telemetry_json):
|
|||
|
||||
check_machine_exploited(
|
||||
current_monkey=Monkey.get_single_monkey_by_guid(telemetry_json["monkey_guid"]),
|
||||
exploit_successful=telemetry_json["data"]["exploitation_success"],
|
||||
exploit_successful=telemetry_json["data"]["exploitation_result"],
|
||||
exploiter=telemetry_json["data"]["exploiter"],
|
||||
target_ip=telemetry_json["data"]["machine"]["ip_addr"],
|
||||
timestamp=telemetry_json["timestamp"],
|
||||
|
|
Loading…
Reference in New Issue