mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor update
This commit is contained in:
parent
1fd1ec22a1
commit
8793fbc9f5
2 changed files with 3 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ class Syntax(GenericSyntax):
|
|||
unescaped = ""
|
||||
|
||||
for i in xrange(firstIndex, lastIndex):
|
||||
unescaped += "CHAR(%d)" % (ord(expression[i]))
|
||||
unescaped += "%s(%d)" % ("CHAR" if ord(expression[i]) < 256 else "NCHAR", ord(expression[i]))
|
||||
if i < lastIndex - 1:
|
||||
unescaped += "+"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue