diff options
author | Suraj Tripathi <suraj.t97@gmail.com> | 2017-09-02 02:38:34 +0530 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2017-09-01 23:08:34 +0200 |
commit | 781369a3269c05d40fa8d37cfc0eae0401558d8d (patch) | |
tree | 950dfbc3c66cfd1cda74ae69197fca11b5a767e4 | |
parent | 7bd930693e809af7c0fc89aa0edb28975f30e44a (diff) | |
download | mitmproxy-781369a3269c05d40fa8d37cfc0eae0401558d8d.tar.gz mitmproxy-781369a3269c05d40fa8d37cfc0eae0401558d8d.tar.bz2 mitmproxy-781369a3269c05d40fa8d37cfc0eae0401558d8d.zip |
fix #2477 (#2556)
-rwxr-xr-x | examples/complex/xss_scanner.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/complex/xss_scanner.py b/examples/complex/xss_scanner.py index a0572d5d..d954adf3 100755 --- a/examples/complex/xss_scanner.py +++ b/examples/complex/xss_scanner.py @@ -198,7 +198,7 @@ def get_SQLi_data(new_body: str, original_body: str, request_URL: str, injection } for dbms, regexes in DBMS_ERRORS.items(): for regex in regexes: - if re.search(regex, new_body) and not re.search(regex, original_body): + if re.search(regex, new_body, re.IGNORECASE) and not re.search(regex, original_body, re.IGNORECASE): return SQLiData(request_URL, injection_point, regex, |