Skip to content

Commit

Permalink
Fixed url vs urls in parse ioc
Browse files Browse the repository at this point in the history
  • Loading branch information
frikky committed Jun 6, 2024
1 parent 861b3b6 commit 0ddf2fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion shuffle-tools/1.2.0/src/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -2405,11 +2405,13 @@ def parse_ioc(self, input_string, input_type="all"):
input_type = "all"
else:
input_type = input_type.split(",")
for item in input_type:
for i in range(len(input_type)):
item = item.strip()
if not item.endswith("s"):
item = "%ss" % item

input_type[i] = item

ioc_types = input_type

iocs = find_iocs(str(input_string), included_ioc_types=ioc_types)
Expand Down

0 comments on commit 0ddf2fa

Please sign in to comment.