iwla

iwla Commit Details

Date:2015-03-15 10:31:28 (6 years 4 months ago)
Author:Grégory Soutadé
Branch:dev, master
Commit:2ed7551049bc5d9de7bdffc76eed229e78b4c5c1
Parents: 1c3fc1c06d19ba9d3f8ee46e58907cd7fa993953
Message:Add GET/POST checks before accepting request

Changes:
Miwla.py (2 diffs)

File differences

iwla.py
104104
105105
106106
107
108
109
107110
108111
109112
......
669672
670673
671674
675
676
677
672678
673679
674680
requests =>
[fields_from_format_log]
extract_request =>
http_method
http_uri
http_version
extract_uri
extract_parameters*
extract_referer* =>
if not self._decodeHTTPRequest(hit): return False
if hit['extract_request']['http_method'] not in ['GET', 'POST']:
return False
for k in hit.keys():
if hit[k] == '-' or hit[k] == '*':
hit[k] = ''

Archive Download the corresponding diff file

Branches

Tags