Content-Length: 270121 | pFad | http://github.com/UncoderIO/Uncoder_IO/commit/7bcae2ec556b5588fd9c43d87eed357885656583

DB fix · UncoderIO/Uncoder_IO@7bcae2e · GitHub
Skip to content

Commit 7bcae2e

Browse files
committed
fix
1 parent 5818932 commit 7bcae2e

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

uncoder-core/app/translator/core/parser_cti.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,8 @@ def get_iocs_from_string(
6161
if domain_val:
6262
iocs.domain.append(self.replace_dots_hxxp(domain_val))
6363
if not include_ioc_types or "url" in include_ioc_types:
64-
iocs.url.extend(
65-
[
66-
self.replace_dots_hxxp(url).rstrip(".")
67-
for url in self._find_all_str_by_regex(string, URL_IOC_REGEXP_PATTERN)
68-
]
69-
)
64+
for url in self._find_all_str_by_regex(string, URL_IOC_REGEXP_PATTERN):
65+
iocs.url.append(self.replace_dots_hxxp(url).rstrip("."))
7066
if not include_ioc_types or "hash" in include_ioc_types:
7167
if not include_hash_types:
7268
include_hash_types = list(hash_regexes.keys())

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/UncoderIO/Uncoder_IO/commit/7bcae2ec556b5588fd9c43d87eed357885656583

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy