mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-21 03:03:50 +00:00
Minor refactoring related to last couple of commits
This commit is contained in:
parent
8f13bda035
commit
a31ac0376d
10 changed files with 25 additions and 25 deletions
|
|
@ -139,7 +139,7 @@ class Entries:
|
|||
continue
|
||||
|
||||
columns = kb.data.cachedColumns[safeSQLIdentificatorNaming(conf.db)][safeSQLIdentificatorNaming(tbl, True)]
|
||||
colList = sorted(filter(None, columns.keys()))
|
||||
colList = sorted(column for column in columns if column)
|
||||
|
||||
if conf.exclude:
|
||||
colList = [_ for _ in colList if _ not in conf.exclude.split(',')]
|
||||
|
|
@ -553,7 +553,7 @@ class Entries:
|
|||
continue
|
||||
|
||||
conf.tbl = table
|
||||
colList = filter(None, sorted(columns))
|
||||
colList = filter(column for column in columns if column)
|
||||
|
||||
if conf.exclude:
|
||||
colList = [_ for _ in colList if _ not in conf.exclude.split(',')]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue