mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41: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:
|
for index in indexRange:
|
||||||
query = rootQuery.blind.query2
|
query = rootQuery.blind.query2
|
||||||
query = query % db
|
|
||||||
|
if query.endswith("'%s')"):
|
||||||
|
query = query[:-1] + " AND %s)" % colQuery
|
||||||
|
else:
|
||||||
query += " AND %s" % colQuery
|
query += " AND %s" % colQuery
|
||||||
|
|
||||||
|
query = safeStringFormat(query, db)
|
||||||
query += whereTblsQuery
|
query += whereTblsQuery
|
||||||
query = agent.limitQuery(index, query)
|
query = agent.limitQuery(index, query)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user