Trivial update

This commit is contained in:
Miroslav Stampar 2019-12-15 16:33:03 +01:00
parent 24aadbd850
commit 7dae324ed6
3 changed files with 9 additions and 3 deletions

View File

@ -1054,11 +1054,11 @@ class Connect(object):
match = re.search(r"%s=[^&]*" % re.escape(parameter), paramString, re.I) match = re.search(r"%s=[^&]*" % re.escape(parameter), paramString, re.I)
if match: 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: else:
match = re.search(r"(%s[\"']:[\"'])([^\"']+)" % re.escape(parameter), paramString, re.I) match = re.search(r"(%s[\"']:[\"'])([^\"']+)" % re.escape(parameter), paramString, re.I)
if match: 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 return retVal

6
thirdparty/identywaf/data.json vendored Normal file → Executable file
View File

@ -431,6 +431,12 @@
"e34c:RVZXum60OEhCWapAYKYPkoJyWOpohM4IiUYMr2RWg1qQJLX2uhdOn9htOj+hX7AB16FcPxJPdLsXomtKaK59nui6c4RmkgI2FZjxtDtAeq+c3qA4chS1XKTC" "e34c:RVZXum60OEhCWapAYKYPkoJyWOpohM4IiUYMr2RWg1qQJLX2uhdOn9htOj+hX7AB16FcPxJPdLsXomtKaK59nui6c4RmkgI2FZjxtDtAeq+c3qA4chS1XKTC"
] ]
}, },
"kuipernet": {
"company": "ASTSoft",
"name": "Kuipernet",
"regex": "(?s)Content-Length: 118214.+W5M0MpCehiHzreSzNTczkc9d",
"signatures": []
},
"malcare": { "malcare": {
"company": "Inactiv", "company": "Inactiv",
"name": "MalCare", "name": "MalCare",

View File

@ -60,7 +60,7 @@ else:
HTTPCookieProcessor = urllib2.HTTPCookieProcessor HTTPCookieProcessor = urllib2.HTTPCookieProcessor
NAME = "identYwaf" NAME = "identYwaf"
VERSION = "1.0.122" VERSION = "1.0.124"
BANNER = r""" BANNER = r"""
` __ __ ` ` __ __ `
____ ___ ___ ____ ______ `| T T` __ __ ____ _____ ____ ___ ___ ____ ______ `| T T` __ __ ____ _____