forked from p15670423/monkey
Island: Use exploitation_result in telemetry_feed
This commit is contained in:
parent
871b02d514
commit
e8ba34b055
|
@ -82,7 +82,7 @@ class TelemetryFeed(flask_restful.Resource):
|
||||||
def get_exploit_telem_brief(telem):
|
def get_exploit_telem_brief(telem):
|
||||||
target = telem["data"]["machine"]["ip_addr"]
|
target = telem["data"]["machine"]["ip_addr"]
|
||||||
exploiter = telem["data"]["exploiter"]
|
exploiter = telem["data"]["exploiter"]
|
||||||
result = telem["data"]["result"]
|
result = telem["data"]["exploitation_result"]
|
||||||
if result:
|
if result:
|
||||||
return "Monkey successfully exploited %s using the %s exploiter." % (target, exploiter)
|
return "Monkey successfully exploited %s using the %s exploiter." % (target, exploiter)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue