diff --git a/lookyloo/lookyloo.py b/lookyloo/lookyloo.py index 1971249b..e9a29ec4 100644 --- a/lookyloo/lookyloo.py +++ b/lookyloo/lookyloo.py @@ -1046,10 +1046,10 @@ def get_cookie_name_investigator(self, cookie_name: str, /) -> tuple[list[tuple[ for domain, freq in self.indexing.get_cookie_domains(cookie_name)] return captures, domains - def get_favicon_investigator(self, favicon_sha512: str, /) -> tuple[list[tuple[str, str]], bytes | None]: + def get_favicon_investigator(self, favicon_sha512: str, /) -> tuple[list[tuple[str, str, str]], bytes | None]: '''Returns all the captures related to a cookie name entry, used in the web interface.''' cached_captures = self.sorted_capture_cache([uuid for uuid in self.indexing.get_captures_favicon(favicon_sha512)]) - captures = [(cache.uuid, cache.title) for cache in cached_captures] + captures = [(cache.uuid, cache.title, cache.redirects[-1]) for cache in cached_captures] favicon = self.indexing.get_favicon(favicon_sha512) return captures, favicon diff --git a/website/web/templates/favicon_details.html b/website/web/templates/favicon_details.html index 3965b7c8..9c5ed277 100644 --- a/website/web/templates/favicon_details.html +++ b/website/web/templates/favicon_details.html @@ -16,16 +16,20 @@