forked from p34709852/monkey
Island: Fix mongo query in telemetry processing
This commit is contained in:
parent
11f48a95be
commit
adc1010355
|
@ -96,7 +96,7 @@ class Monkey(flask_restful.Resource):
|
|||
for x in mongo.db.telemetry.find(
|
||||
{
|
||||
"telem_category": {"$eq": "exploit"},
|
||||
"data.result": {"$eq": True},
|
||||
"data.exploitation_result": {"$eq": True},
|
||||
"data.machine.ip_addr": {"$in": monkey_json["ip_addresses"]},
|
||||
"monkey_guid": {"$eq": parent},
|
||||
}
|
||||
|
@ -117,7 +117,7 @@ class Monkey(flask_restful.Resource):
|
|||
for x in mongo.db.telemetry.find(
|
||||
{
|
||||
"telem_category": {"$eq": "exploit"},
|
||||
"data.result": {"$eq": True},
|
||||
"data.exploitation_result": {"$eq": True},
|
||||
"data.machine.ip_addr": {"$in": monkey_json["ip_addresses"]},
|
||||
}
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue