mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Minor fixes once more
This commit is contained in:
@@ -157,6 +157,9 @@ class Enumeration(GenericEnumeration):
|
|||||||
values = [ values ]
|
values = [ values ]
|
||||||
|
|
||||||
for foundTbl in values:
|
for foundTbl in values:
|
||||||
|
if foundTbl is None:
|
||||||
|
continue
|
||||||
|
|
||||||
foundTbls[db].append(foundTbl)
|
foundTbls[db].append(foundTbl)
|
||||||
else:
|
else:
|
||||||
infoMsg = "fetching number of table"
|
infoMsg = "fetching number of table"
|
||||||
|
|||||||
@@ -211,6 +211,9 @@ class Enumeration(GenericEnumeration):
|
|||||||
values = [ values ]
|
values = [ values ]
|
||||||
|
|
||||||
for foundTbl in values:
|
for foundTbl in values:
|
||||||
|
if foundTbl is None:
|
||||||
|
continue
|
||||||
|
|
||||||
if foundTbl not in dbs[db]:
|
if foundTbl not in dbs[db]:
|
||||||
dbs[db][foundTbl] = {}
|
dbs[db][foundTbl] = {}
|
||||||
|
|
||||||
|
|||||||
@@ -1649,6 +1649,9 @@ class Enumeration:
|
|||||||
values = [ values ]
|
values = [ values ]
|
||||||
|
|
||||||
for foundDb, foundTbl in values:
|
for foundDb, foundTbl in values:
|
||||||
|
if foundDb is None or foundTbl is None:
|
||||||
|
continue
|
||||||
|
|
||||||
if foundDb in foundTbls:
|
if foundDb in foundTbls:
|
||||||
foundTbls[foundDb].append(foundTbl)
|
foundTbls[foundDb].append(foundTbl)
|
||||||
else:
|
else:
|
||||||
@@ -1682,6 +1685,7 @@ class Enumeration:
|
|||||||
query += exclDbsQuery
|
query += exclDbsQuery
|
||||||
query = agent.limitQuery(index, query)
|
query = agent.limitQuery(index, query)
|
||||||
foundDb = inject.getValue(query, inband=False, error=False)
|
foundDb = inject.getValue(query, inband=False, error=False)
|
||||||
|
|
||||||
if foundDb not in foundTbls:
|
if foundDb not in foundTbls:
|
||||||
foundTbls[foundDb] = []
|
foundTbls[foundDb] = []
|
||||||
|
|
||||||
@@ -1799,6 +1803,9 @@ class Enumeration:
|
|||||||
values = [ values ]
|
values = [ values ]
|
||||||
|
|
||||||
for foundDb, foundTbl in values:
|
for foundDb, foundTbl in values:
|
||||||
|
if foundDb is None or foundTbl is None:
|
||||||
|
continue
|
||||||
|
|
||||||
if foundDb not in dbs:
|
if foundDb not in dbs:
|
||||||
dbs[foundDb] = {}
|
dbs[foundDb] = {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user