mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Reverted to r2206
This commit is contained in:
parent
3869ccebe8
commit
79c3a5e527
|
@ -17,12 +17,14 @@ def tamper(value):
|
||||||
|
|
||||||
if value:
|
if value:
|
||||||
retVal = ""
|
retVal = ""
|
||||||
quote, doublequote = False, False
|
quote, doublequote, firstspace = False, False, False
|
||||||
|
|
||||||
for i in xrange(len(value)):
|
for i in xrange(len(value)):
|
||||||
if value[i].isspace():
|
if not firstspace:
|
||||||
retVal += " "
|
if value[i].isspace():
|
||||||
continue
|
firstspace = True
|
||||||
|
retVal += " "
|
||||||
|
continue
|
||||||
|
|
||||||
elif value[i] == '\'':
|
elif value[i] == '\'':
|
||||||
quote = not quote
|
quote = not quote
|
||||||
|
|
Loading…
Reference in New Issue
Block a user