mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-25 00:34:28 +03:00
Do not raise otherwise it won't work with --schema
This commit is contained in:
parent
41fc9f9d54
commit
64bb480414
|
@ -1130,7 +1130,9 @@ class Enumeration:
|
||||||
errMsg = "unable to retrieve the number of columns "
|
errMsg = "unable to retrieve the number of columns "
|
||||||
errMsg += "for table '%s' " % tbl
|
errMsg += "for table '%s' " % tbl
|
||||||
errMsg += "on database '%s'" % conf.db
|
errMsg += "on database '%s'" % conf.db
|
||||||
raise sqlmapNoneDataException, errMsg
|
logger.error(errMsg)
|
||||||
|
|
||||||
|
continue
|
||||||
|
|
||||||
table = {}
|
table = {}
|
||||||
columns = {}
|
columns = {}
|
||||||
|
@ -1194,7 +1196,7 @@ class Enumeration:
|
||||||
if not kb.data.cachedColumns:
|
if not kb.data.cachedColumns:
|
||||||
errMsg = "unable to retrieve the columns for any "
|
errMsg = "unable to retrieve the columns for any "
|
||||||
errMsg += "table on database '%s'" % conf.db
|
errMsg += "table on database '%s'" % conf.db
|
||||||
raise sqlmapNoneDataException, errMsg
|
logger.error(errMsg)
|
||||||
|
|
||||||
return kb.data.cachedColumns
|
return kb.data.cachedColumns
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user