Skip to content

Commit

Permalink
Update extract_domain_names.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronatp authored Jan 22, 2024
1 parent c8b37f3 commit faef41e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions capa/capabilities/extract_domain_names.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import re
import ipaddress
import socket
import ipaddress
from typing import List, Iterator, Generator
from pathlib import Path

Expand All @@ -18,7 +18,6 @@
DynamicFeatureExtractor,
)


# these constants also defined in capa.main
BACKEND_VIV = "vivisect"
BACKEND_DOTNET = "dotnet"
Expand Down Expand Up @@ -273,7 +272,7 @@ def get_function_name(func: FunctionHandle, file: Path) -> str:

def yielded_caller_func_dynamic(
extractor: DynamicFeatureExtractor, target_string: str, file: Path, start_position: Address
) -> Generator[str]:
) -> Generator[str, None, None]:
"""
we look into an extractor to see what APIs operate on a web domain
Expand Down

0 comments on commit faef41e

Please sign in to comment.