Remove viewed limitation in page_to_hit : skip good requests

This commit is contained in:
Grégory Soutadé 2014-11-26 22:06:58 +01:00
parent 5e965f4cc1
commit 6b0ed18f35

View File

@ -31,7 +31,6 @@ class IWLAPreAnalysisPageToHit(IPlugin):
for p in super_hit['requests']: for p in super_hit['requests']:
if not p['is_page']: continue if not p['is_page']: continue
if int(p['status']) not in viewed_http_codes: continue
if time.mktime(p['time_decoded']) < start_time: continue if time.mktime(p['time_decoded']) < start_time: continue
uri = p['extract_request']['extract_uri'] uri = p['extract_request']['extract_uri']
for r in self.regexps: for r in self.regexps: