From 781369a3269c05d40fa8d37cfc0eae0401558d8d Mon Sep 17 00:00:00 2001 From: Suraj Tripathi Date: Sat, 2 Sep 2017 02:38:34 +0530 Subject: fix #2477 (#2556) --- examples/complex/xss_scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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, -- cgit v1.2.3