mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
major improvement with display of payloads (all payloads are displayed now) and removal of "pesky" spaces
This commit is contained in:
parent
620fa1c8fb
commit
d3e7e89e60
16 changed files with 35 additions and 42 deletions
|
|
@ -36,8 +36,8 @@ class Agent:
|
|||
kb.misc.stop = randomStr(6)
|
||||
|
||||
def payloadDirect(self, query):
|
||||
if query.startswith(" AND "):
|
||||
query = query.replace(" AND ", "SELECT ", 1)
|
||||
if query.startswith("AND "):
|
||||
query = query.replace("AND ", "SELECT ", 1)
|
||||
elif query.startswith(" UNION ALL "):
|
||||
query = query.replace(" UNION ALL ", "", 1)
|
||||
elif query.startswith("; "):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue