File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919from lib .core .enums import OS
2020
2121# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22- VERSION = "1.2.10.38 "
22+ VERSION = "1.2.10.39 "
2323TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2424TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2525VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py
49490c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py
5050a7db43859b61569b601b97f187dd31c5 lib/core/revision.py
5151fcb74fcc9577523524659ec49e2e964b lib/core/session.py
52- dc1382ae6b5899619d11d972435c6bd2 lib/core/settings.py
52+ 052f65076ec02852b0035f1ac0d20240 lib/core/settings.py
5353dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py
5454a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py
5555721198b5be72c8015a02acb116532a1f lib/core/target.py
@@ -408,6 +408,7 @@ ef722d062564def381b1f96f5faadee3 waf/baidu.py
40840844f724ab7d333397975fecdf7e50be56 waf/bigip.py
4094096a2834daf767491d3331bd31e946d540 waf/binarysec.py
41041041e399dbfe7b904d5aacfb37d85e1fbf waf/blockdos.py
411+ c52c6974c0dae6815f27cfdee6121d7b waf/chinacache.py
4114122f3bbf43be94d4e9ffe9f80e8483d62f waf/ciscoacexml.py
412413ba84f296cb52f5e78a0670b98d7763fa waf/cloudbric.py
413414a1d16d7106c9c66072aa58530c288515 waf/cloudflare.py
Original file line number Diff line number Diff line change 55See the file 'doc/COPYING' for copying permission
66"""
77
8- import re
9-
10- from lib .core .enums import HTTP_HEADER
118from lib .core .settings import WAF_ATTACK_VECTORS
129
13- __product__ = "China Cache "
10+ __product__ = "ChinaCache (ChinaCache Networks) "
1411
1512def detect (get_page ):
1613 retval = False
1714
1815 for vector in WAF_ATTACK_VECTORS :
1916 page , headers , code = get_page (get = vector )
20- retval = headers .get ("Powered-By-ChinaCache" ) is not None
17+ retval = code >= 400 and headers .get ("Powered-By-ChinaCache" ) is not None
2118
2219 if retval :
2320 break
You can’t perform that action at this time.
0 commit comments