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