mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Bug fix for last regression test (--search related)
This commit is contained in:
@@ -534,8 +534,13 @@ class Search:
|
||||
|
||||
for index in indexRange:
|
||||
query = rootQuery.blind.query2
|
||||
query = query % db
|
||||
query += " AND %s" % colQuery
|
||||
|
||||
if query.endswith("'%s')"):
|
||||
query = query[:-1] + " AND %s)" % colQuery
|
||||
else:
|
||||
query += " AND %s" % colQuery
|
||||
|
||||
query = safeStringFormat(query, db)
|
||||
query += whereTblsQuery
|
||||
query = agent.limitQuery(index, query)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user