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

Skip to content

Commit 30497ac

Browse files
committed
Minor update of ExpressionEngine WAF script
1 parent ed0420e commit 30497ac

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.3.1.5"
22+
VERSION = "1.3.1.6"
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
@@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py
4949
9a7d68d5fa01561500423791f15cc676 lib/core/replication.py
5050
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
5151
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
52-
a7b1cd71be4ae51360d0d01293271e66 lib/core/settings.py
52+
0dd33e8fe128a0b3bf3f94a463d0a61a lib/core/settings.py
5353
a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py
5454
5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py
5555
eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py
@@ -423,7 +423,7 @@ dbe50bbcb1b4664d6cebfcca63e75125 waf/distil.py
423423
2e8bf326975edcb4d627493c46c6807c waf/dosarrest.py
424424
886c6502a6a2aae49921efed8d439f7b waf/dotdefender.py
425425
a8412619d7f26ed6bc9e0b20a57b2324 waf/edgecast.py
426-
17e7ac56629b25a9ea8cfe01c3604745 waf/expressionengine.py
426+
3f440d629b31052e675ee9d48d4ce370 waf/expressionengine.py
427427
588d2f9a8f201e120e74e508564cb487 waf/fortiweb.py
428428
0e9eb20967d2dde941cca8c663a63e1f waf/generic.py
429429
2aa7775dac8df4a3cdb736fdf51dc9cb waf/hyperguard.py

waf/expressionengine.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def detect(get_page):
1414

1515
for vector in WAF_ATTACK_VECTORS:
1616
page, _, _ = get_page(get=vector)
17-
retval = "Invalid GET Data" in (page or "")
17+
retval = any((page or "").strip() == _ for _ in ("Invalid GET Data", "Invalid URI"))
1818
if retval:
1919
break
2020

0 commit comments

Comments
 (0)