mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Fixing multi-column blind --search
This commit is contained in:
parent
356984929f
commit
ffffe2d0b2
3 changed files with 36 additions and 2 deletions
|
|
@ -535,7 +535,10 @@ class Search(object):
|
|||
origDb = conf.db
|
||||
origTbl = conf.tbl
|
||||
|
||||
for column, dbData in foundCols.items():
|
||||
# Note: only the current column - foundCols also holds columns from earlier
|
||||
# colList iterations, and re-walking them here re-issued their table lookups
|
||||
# (O(n^2) blind requests) and duplicated their found tables
|
||||
for column, dbData in ((column, foundCols[column]),):
|
||||
colQuery = "%s%s" % (colCond, colCondParam)
|
||||
colQuery = colQuery % unsafeSQLIdentificatorNaming(column)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue