mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-27 04:05:58 +00:00
Couple of patches
This commit is contained in:
parent
8ab4f6214f
commit
5d7b7d6bca
4 changed files with 16 additions and 10 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue