From 3b4e44a38d061c7d5686ff8a701dc7f4358a6c0c Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Mon, 7 Jan 2019 16:05:59 +0100 Subject: [PATCH] Better results with following the redirect in identifyWaf phase --- lib/controller/checks.py | 2 +- lib/core/settings.py | 2 +- txt/checksum.md5 | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 63194d46b..334cc7511 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -1418,7 +1418,7 @@ def identifyWaf(): page, headers, code = None, None, None try: pushValue(kb.redirectChoice) - kb.redirectChoice = REDIRECTION.NO + kb.redirectChoice = REDIRECTION.YES if kwargs.get("get"): kwargs["get"] = urlencode(kwargs["get"]) kwargs["raise404"] = False diff --git a/lib/core/settings.py b/lib/core/settings.py index 2cff35d8d..61da67448 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.3.1.18" +VERSION = "1.3.1.19" 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 1633f3525..2eda37222 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -23,7 +23,7 @@ fb6be55d21a70765e35549af2484f762 extra/sqlharvest/__init__.py fb6be55d21a70765e35549af2484f762 extra/wafdetectify/__init__.py be1d8f7b74ad64226c61b1a74251f8ff extra/wafdetectify/wafdetectify.py d0f2b424f5b2b06f26cdd7076d61be6e lib/controller/action.py -32959690fd69f4131cbb8abc051114e9 lib/controller/checks.py +02190e90bd7be774f800b7eabe589dd9 lib/controller/checks.py 3c18f0b1d1b9fda682201a264f170b31 lib/controller/controller.py e97a9d34fef5761a8eab6432ce3c7c53 lib/controller/handler.py fb6be55d21a70765e35549af2484f762 lib/controller/__init__.py @@ -49,7 +49,7 @@ fe370021c6bc99daf44b2bfc0d1effb3 lib/core/patch.py 9a7d68d5fa01561500423791f15cc676 lib/core/replication.py 3179d34f371e0295dd4604568fb30bcd lib/core/revision.py d6269c55789f78cf707e09a0f5b45443 lib/core/session.py -b23dad136d358b0b109459f85b713ed9 lib/core/settings.py +3bf16fd13fe8bb9ec803ac0ae4d28b48 lib/core/settings.py a8a7501d1e6b21669b858a62e921d191 lib/core/shell.py 5dc606fdf0afefd4b305169c21ab2612 lib/core/subprocessng.py eec3080ba5baca44c6de4595f1c92a0d lib/core/target.py @@ -402,7 +402,7 @@ ca3ab78d6ed53b7f2c07ed2530d47efd udf/postgresql/windows/32/8.4/lib_postgresqlud 94eec6c5d02357596292d36a8533f08f waf/anquanbao.py 7ab1a7cd51a02899592f4f755d36a02e waf/approach.py 425f2599f57ab81b4fff67e6b442cccc waf/armor.py -e1fb3427009619b39c42324f7e41c16e waf/asm.py +33b6e6793ed3add457d7c909ec599ad3 waf/asm.py 9dbec5d674ed4c762ffc9bc3ab402739 waf/aws.py 4fd9a8e3aac364fe5509b23e7eb5a448 waf/barracuda.py 742f8c9b7f3a858e11dfd2ce3df65c6e waf/binarysec.py