mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Few bug fixes in -d (there were late values in payloads in some cases; sqlalchemy returns RowProxy for tuple)
This commit is contained in:
@@ -42,6 +42,8 @@ class Agent(object):
|
||||
"""
|
||||
|
||||
def payloadDirect(self, query):
|
||||
query = self.cleanupPayload(query)
|
||||
|
||||
if query.startswith("AND "):
|
||||
query = query.replace("AND ", "SELECT ", 1)
|
||||
elif query.startswith(" UNION ALL "):
|
||||
|
||||
Reference in New Issue
Block a user