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

View File

@ -329,6 +329,10 @@ class IWLA(object):
if ip.match(remote_addr): if ip.match(remote_addr):
return return
# Redirected page/hit
if int(hit['status']) in (301, 302, 307, 308):
return
if not remote_addr in self.current_analysis['visits'].keys(): if not remote_addr in self.current_analysis['visits'].keys():
self._createVisitor(hit) self._createVisitor(hit)