mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Added new switch --union-char to be able to provide the character used in union-test and exploit (default is still NULL, but can be any)
This commit is contained in:
parent
c6545f5c9f
commit
ad17e9ed2a
8 changed files with 33 additions and 12 deletions
|
|
@ -425,7 +425,7 @@ class Agent:
|
|||
|
||||
return concatenatedQuery
|
||||
|
||||
def forgeInbandQuery(self, query, exprPosition=None, nullChar="NULL", count=None, comment=None):
|
||||
def forgeInbandQuery(self, query, exprPosition=None, nullChar=None, count=None, comment=None):
|
||||
"""
|
||||
Take in input an query (pseudo query) string and return its
|
||||
processed UNION ALL SELECT query.
|
||||
|
|
@ -456,6 +456,9 @@ class Agent:
|
|||
@rtype: C{str}
|
||||
"""
|
||||
|
||||
if nullChar is None:
|
||||
nullChar = conf.uChar
|
||||
|
||||
if count is None:
|
||||
count = kb.unionCount
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue