Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0bbf5f9

Browse files
committed
Update of dotDefender WAF script
1 parent 8be4b29 commit 0bbf5f9

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.2.8.22"
22+
VERSION = "1.2.8.23"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
4848
0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
4949
a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5050
fcb74fcc9577523524659ec49e2e964b lib/core/session.py
51-
cf04fd985a50e6c7fc6b6d61b4b048b6 lib/core/settings.py
51+
b52affaeb83ecf36e15e75bd439df284 lib/core/settings.py
5252
dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5353
a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5454
815d1cf27f0f8738d81531e73149867d lib/core/target.py
@@ -409,7 +409,7 @@ ac96f34c254951d301973617064eb1b5 waf/comodo.py
409409
1538b661e35843074f4599be93b3fae9 waf/denyall.py
410410
0182d23b34cf903537f77f4ec4b144bf waf/distil.py
411411
aade02eb8f6a4a214a53db0fd0f2aae6 waf/dosarrest.py
412-
357cbc0a17a44e4f64062b799c718e0b waf/dotdefender.py
412+
9760a22990f55ab51ea4eedabd939055 waf/dotdefender.py
413413
7ec3f2a90914b501100685aa66aadf02 waf/edgecast.py
414414
954bebd4a246d8b88794de00ccaecd3b waf/expressionengine.py
415415
a2ce6cde682f78e1fd561dc40611877e waf/fortiweb.py

waf/dotdefender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def detect(get_page):
1515
for vector in WAF_ATTACK_VECTORS:
1616
page, headers, _ = get_page(get=vector)
1717
retval = headers.get("X-dotDefender-denied", "") == "1"
18-
retval |= "dotDefender Blocked Your Request" in (page or "")
18+
retval |= any(_ in (page or "") for _ in ("dotDefender Blocked Your Request", '<meta name="description" content="Applicure is the leading provider of web application security', "Please contact the site administrator, and provide the following Reference ID:"))
1919
if retval:
2020
break
2121

0 commit comments

Comments
 (0)