Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bcae2e

Browse files
committed
fix
1 parent5818932 commit7bcae2e

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
ifdomain_val:
6262
iocs.domain.append(self.replace_dots_hxxp(domain_val))
6363
ifnotinclude_ioc_typesor"url"ininclude_ioc_types:
64-
iocs.url.extend(
65-
[
66-
self.replace_dots_hxxp(url).rstrip(".")
67-
forurlinself._find_all_str_by_regex(string,URL_IOC_REGEXP_PATTERN)
68-
]
69-
)
64+
forurlinself._find_all_str_by_regex(string,URL_IOC_REGEXP_PATTERN):
65+
iocs.url.append(self.replace_dots_hxxp(url).rstrip("."))
7066
ifnotinclude_ioc_typesor"hash"ininclude_ioc_types:
7167
ifnotinclude_hash_types:
7268
include_hash_types=list(hash_regexes.keys())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp