mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Couple of patches
This commit is contained in:
@@ -561,6 +561,8 @@ class Search(object):
|
||||
|
||||
if query.endswith("'%s')"):
|
||||
query = query[:-1] + " AND %s)" % (colQuery + whereTblsQuery)
|
||||
elif " ORDER BY " in query:
|
||||
query = query.replace(" ORDER BY ", " AND %s ORDER BY " % (colQuery + whereTblsQuery))
|
||||
else:
|
||||
query += " AND %s" % (colQuery + whereTblsQuery)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user