mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +03:00
Minor modification
This commit is contained in:
parent
35fa710eed
commit
6f54be987f
|
@ -18,7 +18,7 @@ from lib.core.enums import OS
|
|||
from thirdparty.six import unichr as _unichr
|
||||
|
||||
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
|
||||
VERSION = "1.4.1.47"
|
||||
VERSION = "1.4.1.48"
|
||||
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)
|
||||
|
|
|
@ -340,9 +340,9 @@ def errorUse(expression, dump=False):
|
|||
else:
|
||||
stopLimit = int(count)
|
||||
|
||||
infoMsg = "used SQL query returns "
|
||||
infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
|
||||
logger.info(infoMsg)
|
||||
debugMsg = "used SQL query returns "
|
||||
debugMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
|
||||
logger.debug(debugMsg)
|
||||
|
||||
elif count and not count.isdigit():
|
||||
warnMsg = "it was not possible to count the number "
|
||||
|
|
|
@ -261,9 +261,9 @@ def unionUse(expression, unpack=True, dump=False):
|
|||
else:
|
||||
stopLimit = int(count)
|
||||
|
||||
infoMsg = "used SQL query returns "
|
||||
infoMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
|
||||
logger.info(infoMsg)
|
||||
debugMsg = "used SQL query returns "
|
||||
debugMsg += "%d %s" % (stopLimit, "entries" if stopLimit > 1 else "entry")
|
||||
logger.debug(debugMsg)
|
||||
|
||||
elif count and (not isinstance(count, six.string_types) or not count.isdigit()):
|
||||
warnMsg = "it was not possible to count the number "
|
||||
|
|
Loading…
Reference in New Issue
Block a user