Same sentence in Cloudflare (too)

This commit is contained in:
Miroslav Stampar 2019-01-14 11:35:54 +01:00
parent c0d4db3aba
commit 6cdb90ddf8
3 changed files with 4 additions and 4 deletions

View File

@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME
from lib.core.enums import OS from lib.core.enums import OS
# sqlmap version (<major>.<minor>.<month>.<monthly commit>) # sqlmap version (<major>.<minor>.<month>.<monthly commit>)
VERSION = "1.3.1.48" VERSION = "1.3.1.49"
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34} TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE) VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

View File

@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py
9a7d68d5fa01561500423791f15cc676 lib/core/replication.py 9a7d68d5fa01561500423791f15cc676 lib/core/replication.py
3179d34f371e0295dd4604568fb30bcd lib/core/revision.py 3179d34f371e0295dd4604568fb30bcd lib/core/revision.py
d6269c55789f78cf707e09a0f5b45443 lib/core/session.py d6269c55789f78cf707e09a0f5b45443 lib/core/session.py
e6b4873ae0e82e43a62dcdfd670feb61 lib/core/settings.py 4f9aafb24e5b12eb078b1b68719d9afe lib/core/settings.py
a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py
5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py 5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py
eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py
@ -457,7 +457,7 @@ c842d298e61a87b32668c8402a0d87b5 waf/sitelock.py
a840fcd2bb042694f9aab2859e7c9b30 waf/sonicwall.py a840fcd2bb042694f9aab2859e7c9b30 waf/sonicwall.py
45683bfe7a428f47745416c727a789bd waf/sophos.py 45683bfe7a428f47745416c727a789bd waf/sophos.py
ed1ecabfa8396e70494b0a3d70a22eb1 waf/squarespace.py ed1ecabfa8396e70494b0a3d70a22eb1 waf/squarespace.py
4a11ba8e5f3995b35f5fc189b8c2692e waf/stackpath.py 8ace2ad70a4bba8825c8538e349839da waf/stackpath.py
74bd52941b606d15f1a6cdc7b52f761c waf/sucuri.py 74bd52941b606d15f1a6cdc7b52f761c waf/sucuri.py
205beb7ed5e70119f8700a9e295b6a4a waf/tencent.py 205beb7ed5e70119f8700a9e295b6a4a waf/tencent.py
ef6f83952ce6b5a7bbb19f9b903af2b6 waf/teros.py ef6f83952ce6b5a7bbb19f9b903af2b6 waf/teros.py

View File

@ -14,7 +14,7 @@ def detect(get_page):
for vector in WAF_ATTACK_VECTORS: for vector in WAF_ATTACK_VECTORS:
page, _, _ = get_page(get=vector) page, _, _ = get_page(get=vector)
retval = all(_ in (page or "") for _ in ("This website is using a security service to protect itself from online attacks", "You performed an action that triggered the service and blocked your request")) retval = all(_ in (page or "") for _ in ("You performed an action that triggered the service and blocked your request",))
if retval: if retval:
break break