mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +03:00
Bug fix for last regression test (--search related)
This commit is contained in:
parent
8d51b4b63a
commit
81d4f9f7d1
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user