Skip to content

Commit c629374

Browse files
committed
Fixes #5521
1 parent 6caba63 commit c629374

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from thirdparty.six import unichr as _unichr
2121

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

lib/request/inject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def _goInferenceProxy(expression, fromUser=False, batch=False, unpack=True, char
274274

275275
stopLimit = 1
276276

277-
elif (not count or int(count) == 0):
277+
elif not isNumPosStrValue(count):
278278
if not count:
279279
warnMsg = "the SQL query provided does not "
280280
warnMsg += "return any output"

lib/techniques/error/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def errorUse(expression, dump=False):
355355

356356
stopLimit = 1
357357

358-
elif (not count or int(count) == 0):
358+
elif not isNumPosStrValue(count):
359359
if not count:
360360
warnMsg = "the SQL query provided does not "
361361
warnMsg += "return any output"

lib/techniques/union/use.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ def unionUse(expression, unpack=True, dump=False):
308308

309309
stopLimit = 1
310310

311-
elif (not count or int(count) == 0):
311+
elif not isNumPosStrValue(count):
312312
if not count:
313313
warnMsg = "the SQL query provided does not "
314314
warnMsg += "return any output"

0 commit comments

Comments
 (0)