mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Patch for known NCHAR/UNION-query SQLi problems
This commit is contained in:
parent
c6557e2b45
commit
78ba33737e
4 changed files with 13 additions and 1 deletions
|
|
@ -499,6 +499,9 @@ class Agent(object):
|
|||
if suffix:
|
||||
nulledCastedField += suffix
|
||||
|
||||
if not kb.nchar:
|
||||
nulledCastedField = re.sub(r"( AS )N(CHAR|VARCHAR)", r"\g<1>\g<2>", nulledCastedField)
|
||||
|
||||
return nulledCastedField
|
||||
|
||||
def nullCastConcatFields(self, fields):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue