Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 86c6e3d

Browse files
committed
Minor adjustment
1 parent 5eb2263 commit 86c6e3d

2 files changed

Lines changed: 13 additions & 13 deletions

File tree

lib/core/settings.py

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

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

plugins/generic/databases.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,9 @@ def getTables(self, bruteForce=None):
220220

221221
if bruteForce is None:
222222
if Backend.isDbms(DBMS.MYSQL) and not kb.data.has_information_schema:
223-
errMsg = "information_schema not available, "
224-
errMsg += "back-end DBMS is MySQL < 5.0"
225-
logger.error(errMsg)
223+
warnMsg = "information_schema not available, "
224+
warnMsg += "back-end DBMS is MySQL < 5.0"
225+
logger.warn(warnMsg)
226226
bruteForce = True
227227

228228
elif Backend.getIdentifiedDbms() in (DBMS.MCKOI, DBMS.EXTREMEDB):
@@ -235,9 +235,9 @@ def getTables(self, bruteForce=None):
235235
tables = None
236236

237237
if not tables:
238-
errMsg = "cannot retrieve table names, "
239-
errMsg += "back-end DBMS is %s" % Backend.getIdentifiedDbms()
240-
logger.error(errMsg)
238+
warnMsg = "cannot retrieve table names, "
239+
warnMsg += "back-end DBMS is %s" % Backend.getIdentifiedDbms()
240+
logger.warn(warnMsg)
241241
bruteForce = True
242242
else:
243243
return tables
@@ -529,15 +529,15 @@ def getColumns(self, onlyColNames=False, colTuple=None, bruteForce=None, dumpMod
529529

530530
if bruteForce is None:
531531
if Backend.isDbms(DBMS.MYSQL) and not kb.data.has_information_schema:
532-
errMsg = "information_schema not available, "
533-
errMsg += "back-end DBMS is MySQL < 5.0"
534-
logger.error(errMsg)
532+
warnMsg = "information_schema not available, "
533+
warnMsg += "back-end DBMS is MySQL < 5.0"
534+
logger.warn(warnMsg)
535535
bruteForce = True
536536

537537
elif Backend.getIdentifiedDbms() in (DBMS.ACCESS, DBMS.MCKOI, DBMS.EXTREMEDB):
538-
errMsg = "cannot retrieve column names, "
539-
errMsg += "back-end DBMS is %s" % Backend.getIdentifiedDbms()
540-
logger.error(errMsg)
538+
warnMsg = "cannot retrieve column names, "
539+
warnMsg += "back-end DBMS is %s" % Backend.getIdentifiedDbms()
540+
logger.warn(warnMsg)
541541
bruteForce = True
542542

543543
if bruteForce:

0 commit comments

Comments
 (0)