diff --git a/lookyloo/capturecache.py b/lookyloo/capturecache.py index 12416dc..be94576 100644 --- a/lookyloo/capturecache.py +++ b/lookyloo/capturecache.py @@ -461,7 +461,7 @@ class CapturesIndex(Mapping): _all_ips = set() for node in ct.root_hartree.hostname_tree.traverse(): - if hasattr(node, 'hostname_is_ip'): + if hasattr(node, 'hostname_is_ip') and node.hostname_is_ip: continue if node.name not in host_cnames or node.name not in host_ips: host_cnames[node.name] = '' diff --git a/poetry.lock b/poetry.lock index 0a9608e..fd3dd0d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -945,14 +945,14 @@ tornado = ["tornado (>=0.2)"] [[package]] name = "har2tree" -version = "1.18.0" +version = "1.18.1" description = "HTTP Archive (HAR) to ETE Toolkit generator" category = "main" optional = false python-versions = ">=3.8,<3.12" files = [ - {file = "har2tree-1.18.0-py3-none-any.whl", hash = "sha256:36beb72ce84181dd00fd17c1b6eaeeada0c46367f7e0e2210943b57b8066fa65"}, - {file = "har2tree-1.18.0.tar.gz", hash = "sha256:7c429a340f911a0a3addb3e7cd024fcca34e19661f31fb74e63a39582100a7a4"}, + {file = "har2tree-1.18.1-py3-none-any.whl", hash = "sha256:dfddbd75d0a54f8f86c34d92f55b0b901f44ef8e58755c1eca18977006fc519f"}, + {file = "har2tree-1.18.1.tar.gz", hash = "sha256:893054df9ec9a4bd3d7ccd9061d16aeb9b2600701f10ec04293280fdeb4b3432"}, ] [package.dependencies] @@ -3178,4 +3178,4 @@ testing = ["big-O", "flake8 (<5)", "jaraco.functools", "jaraco.itertools", "more [metadata] lock-version = "2.0" python-versions = ">=3.8,<3.12" -content-hash = "37e3da30989103254088c0bd845526ba1795f56e16a425b534da330ac3b6db99" +content-hash = "69db81e04098a18ad0cd22444e7751558dd2cc65cc531a9105af6868cdd5b3a4" diff --git a/pyproject.toml b/pyproject.toml index bace0ab..592cc1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,7 +60,7 @@ pyhashlookup = "^1.2.1" lief = "^0.12.3" ua-parser = "^0.16.1" Flask-Login = "^0.6.2" -har2tree = "^1.18.0" +har2tree = "^1.18.1" passivetotal = "^2.5.9" werkzeug = "^2.2.3" filetype = "^1.2.0"