From fef9c783f69f9e3191e148bd85ff0849beb6cb70 Mon Sep 17 00:00:00 2001 From: Gregory Soutade Date: Sat, 28 Jan 2023 09:42:12 +0100 Subject: [PATCH] Skip redirected pages/hit at analysis level --- iwla.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/iwla.py b/iwla.py index 169e32e..583d9e1 100755 --- a/iwla.py +++ b/iwla.py @@ -329,6 +329,10 @@ class IWLA(object): if ip.match(remote_addr): return + # Redirected page/hit + if int(hit['status']) in (301, 302, 307, 308): + return + if not remote_addr in self.current_analysis['visits'].keys(): self._createVisitor(hit)