From feb93dce4461272c4c8135b5a6c407ffd9f5bccf Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 17 Oct 2018 12:24:52 +0200 Subject: [PATCH] Update related to the #3304 --- lib/controller/checks.py | 8 -------- lib/controller/controller.py | 2 +- lib/core/settings.py | 2 +- txt/checksum.md5 | 6 +++--- 4 files changed, 5 insertions(+), 13 deletions(-) diff --git a/lib/controller/checks.py b/lib/controller/checks.py index 4ef33249b..d0f9a8b10 100644 --- a/lib/controller/checks.py +++ b/lib/controller/checks.py @@ -1117,14 +1117,6 @@ def checkDynParam(place, parameter, value): try: payload = agent.payload(place, parameter, value, getUnicode(randInt)) dynResult = Request.queryPage(payload, place, raise404=False) - - if not dynResult: - infoMsg = "confirming that %s parameter '%s' is dynamic" % (paramType, parameter) - logger.info(infoMsg) - - randInt = randomInt() - payload = agent.payload(place, parameter, value, getUnicode(randInt)) - dynResult = Request.queryPage(payload, place, raise404=False) except SqlmapConnectionException: pass diff --git a/lib/controller/controller.py b/lib/controller/controller.py index 16395be1c..a5f15ea39 100644 --- a/lib/controller/controller.py +++ b/lib/controller/controller.py @@ -529,7 +529,7 @@ def start(): testSqlInj = False else: - infoMsg = "%s parameter '%s' is dynamic" % (paramType, parameter) + infoMsg = "%s parameter '%s' appears to be dynamic" % (paramType, parameter) logger.info(infoMsg) kb.testedParams.add(paramKey) diff --git a/lib/core/settings.py b/lib/core/settings.py index ab549d627..93a2136c7 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.10.26" +VERSION = "1.2.10.27" 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 26afa3451..08f045774 100644 --- a/txt/checksum.md5 +++ b/txt/checksum.md5 @@ -23,8 +23,8 @@ b3e60ea4e18a65c48515d04aab28ff68 extra/sqlharvest/sqlharvest.py 1e5532ede194ac9c083891c2f02bca93 extra/wafdetectify/__init__.py c1bccc94522d3425a372dcd57f78418e extra/wafdetectify/wafdetectify.py 3459c562a6abb9b4bdcc36925f751f3e lib/controller/action.py -84316968d7235f53aac7e25069128725 lib/controller/checks.py -d6deacb76e1f479b3c690c215fad1c08 lib/controller/controller.py +fab20cff41611d4fcb4e426e2c7704da lib/controller/checks.py +250d3cf5ea54b8fe1e91fd611b0044ab lib/controller/controller.py 97a0f363bfc33a5ee4853cdf91515423 lib/controller/handler.py 1e5532ede194ac9c083891c2f02bca93 lib/controller/__init__.py cb865cf6eff60118bc97a0f106af5e4d lib/core/agent.py @@ -49,7 +49,7 @@ c8c386d644d57c659d74542f5f57f632 lib/core/patch.py 0c3eef46bdbf87e29a3f95f90240d192 lib/core/replication.py a7db43859b61569b601b97f187dd31c5 lib/core/revision.py fcb74fcc9577523524659ec49e2e964b lib/core/session.py -ae5de169849869a08f920e52c0fadb8a lib/core/settings.py +72fce2cc366c9008550703643f8a6cc7 lib/core/settings.py dd68a9d02fccb4fa1428b20e15b0db5d lib/core/shell.py a7edc9250d13af36ac0108f259859c19 lib/core/subprocessng.py 47ad325975ab21fc9f11d90b46d0d143 lib/core/target.py