Skip redirected pages/hit at analysis level
This commit is contained in:
parent
6a4fd4e9c8
commit
fef9c783f6
4
iwla.py
4
iwla.py
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user