Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
phutelmyer committed Oct 23, 2023
1 parent 2d54dfb commit be2513e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/python/strelka/auxiliary/xl4ma/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ def iocs(excel_doc_decoded):
extracted = set()
for decoded in excel_doc_decoded:
if url := re.findall(
"(https?://[A-Za-z0-9-._]+/[A-Za-z0-9-._~:/?#\[\]@!$&'\(\)*+,;%=]+[^,\s\)])",
decoded,
flags=re.IGNORECASE,
r"(https?://[A-Za-z0-9-._]+/[A-Za-z0-9-._~:/?#\[\]@!$&'()*+,;%=]+[^,\s\]])",
decoded,
flags=re.IGNORECASE,
):
scheme, netloc, path, params, query, fragment = urlparse(url[0])
if netloc.startswith("0x"):
Expand Down

0 comments on commit be2513e

Please sign in to comment.