forked from p34709852/monkey
island: Rename `get_exploitation_stats()` to `get_exploitation_details()`
This commit is contained in:
parent
79d042b471
commit
d7ec2db477
|
@ -8,4 +8,6 @@ from monkey_island.cc.services.ransomware_report import RansomwareReportService
|
|||
class RansomwareReport(flask_restful.Resource):
|
||||
@jwt_required
|
||||
def get(self):
|
||||
return jsonify({"report": None, "stats": RansomwareReportService.get_exploitation_stats()})
|
||||
return jsonify(
|
||||
{"report": None, "stats": RansomwareReportService.get_exploitation_details()}
|
||||
)
|
||||
|
|
|
@ -6,7 +6,7 @@ class RansomwareReportService:
|
|||
pass
|
||||
|
||||
@staticmethod
|
||||
def get_exploitation_stats():
|
||||
def get_exploitation_details():
|
||||
scanned = ReportService.get_scanned()
|
||||
exploited = ReportService.get_exploited()
|
||||
|
||||
|
|
Loading…
Reference in New Issue