Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Commit

Permalink
Update cape.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudFrere authored Apr 27, 2022
1 parent 1363645 commit fb1215a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cape.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,10 @@ def execute(self, request):
report_strings = report.pop("strings")
report_suricata = report.pop("suricata")
report_target = report.pop("target")
report_vt = report.pop("virustotal")
try:
report_vt = report.pop("virustotal")
except KeyError:
report_vt = None
report_procmemory = report.pop("procmemory")
report_signatures = report.pop("signatures")
report_ttps = report.pop("ttps")
Expand Down

0 comments on commit fb1215a

Please sign in to comment.