From 7dae324ed6ca4b7a49c4f6d3a9d0c83925a87614 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 15 Dec 2019 16:33:03 +0100 Subject: [PATCH] Trivial update --- lib/request/connect.py | 4 ++-- thirdparty/identywaf/data.json | 6 ++++++ thirdparty/identywaf/identYwaf.py | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) mode change 100644 => 100755 thirdparty/identywaf/data.json diff --git a/lib/request/connect.py b/lib/request/connect.py index f8bed48a6..26ab5526b 100644 --- a/lib/request/connect.py +++ b/lib/request/connect.py @@ -1054,11 +1054,11 @@ class Connect(object): match = re.search(r"%s=[^&]*" % re.escape(parameter), paramString, re.I) if match: - retVal = re.sub("(?i)%s" % re.escape(match.group(0)), ("%s=%s" % (parameter, newValue)).replace('\\', r'\\'), paramString) + retVal = re.sub(r"(?i)%s" % re.escape(match.group(0)), ("%s=%s" % (parameter, newValue)).replace('\\', r'\\'), paramString) else: match = re.search(r"(%s[\"']:[\"'])([^\"']+)" % re.escape(parameter), paramString, re.I) if match: - retVal = re.sub("(?i)%s" % re.escape(match.group(0)), "%s%s" % (match.group(1), newValue), paramString) + retVal = re.sub(r"(?i)%s" % re.escape(match.group(0)), "%s%s" % (match.group(1), newValue), paramString) return retVal diff --git a/thirdparty/identywaf/data.json b/thirdparty/identywaf/data.json old mode 100644 new mode 100755 index de90fdbbe..c6ab44ca5 --- a/thirdparty/identywaf/data.json +++ b/thirdparty/identywaf/data.json @@ -431,6 +431,12 @@ "e34c:RVZXum60OEhCWapAYKYPkoJyWOpohM4IiUYMr2RWg1qQJLX2uhdOn9htOj+hX7AB16FcPxJPdLsXomtKaK59nui6c4RmkgI2FZjxtDtAeq+c3qA4chS1XKTC" ] }, + "kuipernet": { + "company": "ASTSoft", + "name": "Kuipernet", + "regex": "(?s)Content-Length: 118214.+W5M0MpCehiHzreSzNTczkc9d", + "signatures": [] + }, "malcare": { "company": "Inactiv", "name": "MalCare", diff --git a/thirdparty/identywaf/identYwaf.py b/thirdparty/identywaf/identYwaf.py index 80f0d71ce..2209352f3 100755 --- a/thirdparty/identywaf/identYwaf.py +++ b/thirdparty/identywaf/identYwaf.py @@ -60,7 +60,7 @@ else: HTTPCookieProcessor = urllib2.HTTPCookieProcessor NAME = "identYwaf" -VERSION = "1.0.122" +VERSION = "1.0.124" BANNER = r""" ` __ __ ` ____ ___ ___ ____ ______ `| T T` __ __ ____ _____