mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Minor bug fix and improvement in displaying of enumerated columns in --dump -C
This commit is contained in:
parent
dc04fa7f06
commit
12f371cd65
|
@ -139,13 +139,18 @@ class Dump:
|
||||||
|
|
||||||
for db, tblData in dbs.items():
|
for db, tblData in dbs.items():
|
||||||
for tbl, colData in tblData.items():
|
for tbl, colData in tblData.items():
|
||||||
for col in colData:
|
for col, dataType in colData.items():
|
||||||
if column in col:
|
if column in col:
|
||||||
if db in printDbs:
|
if db in printDbs:
|
||||||
printDbs[db][tbl] = colData
|
if tbl in printDbs[db]:
|
||||||
|
printDbs[db][tbl][col] = dataType
|
||||||
|
else:
|
||||||
|
printDbs[db][tbl] = { col: dataType }
|
||||||
else:
|
else:
|
||||||
printDbs[db] = { tbl: colData }
|
printDbs[db] = {}
|
||||||
break
|
printDbs[db][tbl] = { col: dataType }
|
||||||
|
|
||||||
|
continue
|
||||||
|
|
||||||
self.dbTableColumns(printDbs)
|
self.dbTableColumns(printDbs)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user