Skip to content

Commit 7c5b051

Browse files
committed
Fixes #2808
1 parent 5899fd5 commit 7c5b051

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

lib/controller/checks.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
from lib.core.common import showStaticWords
4444
from lib.core.common import singleTimeLogMessage
4545
from lib.core.common import singleTimeWarnMessage
46+
from lib.core.common import unArrayizeValue
4647
from lib.core.common import urlencode
4748
from lib.core.common import wasLastResponseDBMSError
4849
from lib.core.common import wasLastResponseHTTPError
@@ -282,9 +283,9 @@ def checkSqlInjection(place, parameter, value):
282283
# Skip DBMS-specific test if it does not match the
283284
# previously identified DBMS (via DBMS-specific error message)
284285
if kb.reduceTests and not intersect(payloadDbms, kb.reduceTests, True):
285-
debugMsg = "skipping test '%s' because the parsed " % title
286-
debugMsg += "error message(s) showed that the back-end DBMS "
287-
debugMsg += "could be %s" % Format.getErrorParsedDBMSes()
286+
debugMsg = "skipping test '%s' because the heuristic " % title
287+
debugMsg += "tests showed that the back-end DBMS "
288+
debugMsg += "could be '%s'" % unArrayizeValue(kb.reduceTests)
288289
logger.debug(debugMsg)
289290
continue
290291

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
from lib.core.enums import OS
2020

2121
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
22-
VERSION = "1.1.11.39"
22+
VERSION = "1.1.11.40"
2323
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2424
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2525
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

txt/checksum.md5

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ f96467fc5cd1d87f52dd7966c8ae6e79 extra/shutils/regressiontest.py
2121
5fb9aaf874daa47ea2b672a22740e56b extra/sqlharvest/__init__.py
2222
1fc7772edce5a01c31f3932b2fc4c1c6 extra/sqlharvest/sqlharvest.py
2323
21bf2b3a7a22b8cd5d96a6457a1b4997 lib/controller/action.py
24-
52192122202908c89bc84b8563d63280 lib/controller/checks.py
24+
beb3207c65d01c1e5d959cd6393cd420 lib/controller/checks.py
2525
2db2666dba713c710d248a62b2c1c1fe lib/controller/controller.py
2626
d2cdb9e832e18a81e936ca3348144b16 lib/controller/handler.py
2727
5fb9aaf874daa47ea2b672a22740e56b lib/controller/__init__.py
@@ -46,7 +46,7 @@ e1c000db9be27f973569b1a430629037 lib/core/option.py
4646
760d9df2a27ded29109b390ab202e72d lib/core/replication.py
4747
a2466b62e67f8b31736bac4dac590e51 lib/core/revision.py
4848
02d4762140a72fd44668d3dab5eabda9 lib/core/session.py
49-
d61f9cea6f98ad14a6ffda2319a67a6d lib/core/settings.py
49+
cbc55bdbfa857e49d1f1f158a44e4de5 lib/core/settings.py
5050
35bffbad762eb9e03db9e93b1c991103 lib/core/shell.py
5151
a59ec28371ae067a6fdd8f810edbee3d lib/core/subprocessng.py
5252
d5a04d672a18f78deb2839c3745ff83c lib/core/target.py

0 commit comments

Comments
 (0)