mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-28 20:43:49 +03:00
Bug fix (--columns has been broken for last couple of days)
This commit is contained in:
parent
12b9939baa
commit
e19b097ab5
|
@ -664,12 +664,12 @@ class Databases:
|
||||||
columns[safeSQLIdentificatorNaming(value)] = None
|
columns[safeSQLIdentificatorNaming(value)] = None
|
||||||
index += 1
|
index += 1
|
||||||
|
|
||||||
if not columns:
|
if not columns:
|
||||||
errMsg = "unable to retrieve the %scolumns " % ("number of " if not Backend.isDbms(DBMS.MSSQL) else "")
|
errMsg = "unable to retrieve the %scolumns " % ("number of " if not Backend.isDbms(DBMS.MSSQL) else "")
|
||||||
errMsg += "for table '%s' " % unsafeSQLIdentificatorNaming(tbl)
|
errMsg += "for table '%s' " % unsafeSQLIdentificatorNaming(tbl)
|
||||||
errMsg += "in database '%s'" % unsafeSQLIdentificatorNaming(conf.db)
|
errMsg += "in database '%s'" % unsafeSQLIdentificatorNaming(conf.db)
|
||||||
logger.error(errMsg)
|
logger.error(errMsg)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
for index in getLimitRange(count):
|
for index in getLimitRange(count):
|
||||||
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.PGSQL):
|
if Backend.getIdentifiedDbms() in (DBMS.MYSQL, DBMS.PGSQL):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user