diff --git a/lib/core/settings.py b/lib/core/settings.py index 1dabb6fed..308baf55f 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -19,7 +19,7 @@ from lib.core.enums import DBMS_DIRECTORY_NAME from lib.core.enums import OS # sqlmap version (...) -VERSION = "1.2.6.1" +VERSION = "1.2.6.2" TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable" 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) diff --git a/txt/checksum.md5 b/txt/checksum.md5 index c473dace7..3cabca07b 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -47,7 +47,7 @@ c9a56e58984420a5abb7a3f7aadc196d lib/core/optiondict.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -993fd299707fdb019bfe4e12967da74c lib/core/settings.py +240e554483cc86de3fc483858dc8cb7b lib/core/settings.py 0dfc2ed40adf72e302291f6ecd4406f6 lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 6306284edcccc185b2df085438572b0d lib/core/target.py @@ -390,7 +390,7 @@ ca3ab78d6ed53b7f2c07ed2530d47efd udf/postgresql/windows/32/8.4/lib_postgresqlud 0d3fe0293573a4453463a0fa5a081de1 udf/postgresql/windows/32/9.0/lib_postgresqludf_sys.dll_ 336d0b0d2be333f5a6184042c85464fd waf/360.py 667cacdcd4ba650c9a436f081a79cd64 waf/airlock.py -003cc986b2f5899fe3c85b6309c4b556 waf/anquanbao.py +7da7970b45512b0233450dbd8088fde0 waf/anquanbao.py b61329e8f8bdbf5625f9520ec010af1f waf/armor.py dec64f18c23962d279cc1cde6469afed waf/asm.py 6ea7b4ff5f111acb0b24186ef82c3f2d waf/aws.py diff --git a/waf/anquanbao.py b/waf/anquanbao.py index 4aacfab52..42f608c7b 100644 --- a/waf/anquanbao.py +++ b/waf/anquanbao.py @@ -17,7 +17,7 @@ def detect(get_page): for vector in WAF_ATTACK_VECTORS: page, headers, code = get_page(get=vector) retval = re.search(r"MISS", headers.get("X-Powered-By-Anquanbao", ""), re.I) is not None - retval |= code == 405 and "/aqb_cc/error/" in (page or "") + retval |= code == 405 and any(_ in (page or "") for _ in ("/aqb_cc/error/", "hidden_intercept_time")) if retval: break