Skip redirected pages/hit at analysis level

This commit is contained in:
Gregory Soutade 2023-01-28 09:42:12 +01:00
parent 6a4fd4e9c8
commit fef9c783f6
1 changed files with 4 additions and 0 deletions

View File

@ -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)