Skip to content

Commit

Permalink
allow scoring of urls
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbradford89 committed Apr 19, 2024
1 parent 3d7ce4b commit ff5e933
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/cuckoo/common/scoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,7 @@ def calc_scoring(results: dict, matched: list):
status = None
fileType = results.get("target", {}).get("file", {}).get("type")

if not fileType:
return finalMalscore, status

if "executable" in fileType:
if fileType and "executable" in fileType:
# We have 5 methodologies
# 1. The file is Malicious-Known (The sample is detected by YARA)
## score 10/10 (Malicious)
Expand Down

0 comments on commit ff5e933

Please sign in to comment.