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