mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-07-15 10:42:27 +03:00
Minor update of sitelock.py
This commit is contained in:
parent
792ed52ab5
commit
f60727a891
|
@ -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.1.11.37"
|
VERSION = "1.1.11.38"
|
||||||
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)
|
||||||
|
|
|
@ -46,7 +46,7 @@ e1c000db9be27f973569b1a430629037 lib/core/option.py
|
||||||
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
|
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
|
||||||
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
|
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
|
||||||
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
|
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
|
||||||
08ba426f7157982ff9aa4c8d40a5f2b5 lib/core/settings.py
|
71199d4a6f86e6c1bf6da24a41a9c1b7 lib/core/settings.py
|
||||||
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
|
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
|
||||||
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
|
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
|
||||||
d5a04d672a18f78deb2839c3745ff83c lib/core/target.py
|
d5a04d672a18f78deb2839c3745ff83c lib/core/target.py
|
||||||
|
@ -429,7 +429,7 @@ e353eb40d21be9e5ac6ea98f5c71a2f3 waf/radware.py
|
||||||
de671bbe9acee86d5e3a66fd4126b4e3 waf/safedog.py
|
de671bbe9acee86d5e3a66fd4126b4e3 waf/safedog.py
|
||||||
b03fdbf8f427ab614303a03416970927 waf/secureiis.py
|
b03fdbf8f427ab614303a03416970927 waf/secureiis.py
|
||||||
877ea097e56abf01868945a00c2afdea waf/senginx.py
|
877ea097e56abf01868945a00c2afdea waf/senginx.py
|
||||||
2c24d9e5c80ad51cb74f1c4b124d8974 waf/sitelock.py
|
90f3c0c895d5d564b6614e25549b6355 waf/sitelock.py
|
||||||
664f73359b87bfb684fb49df1e0b1fa4 waf/sonicwall.py
|
664f73359b87bfb684fb49df1e0b1fa4 waf/sonicwall.py
|
||||||
b384581ce833d147690c7c77c9509bdc waf/sophos.py
|
b384581ce833d147690c7c77c9509bdc waf/sophos.py
|
||||||
e9127a67621440fba41e1cd176890851 waf/stingray.py
|
e9127a67621440fba41e1cd176890851 waf/stingray.py
|
||||||
|
|
|
@ -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 = "SiteLock Incident ID" in (page or "")
|
retval |= any(_ in (page or "") for _ in ("SiteLock Incident ID", "sitelock-site-verification", "sitelock_shield_logo"))
|
||||||
if retval:
|
if retval:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user