mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
Fixed MySQL BETWEEN tamper script
This commit is contained in:
parent
8cf0ebde1e
commit
5ba36f89df
|
@ -17,15 +17,12 @@ def tamper(value):
|
|||
|
||||
if value:
|
||||
retVal = ""
|
||||
quote, doublequote, firstspace = False, False, False
|
||||
quote, doublequote = False, False
|
||||
|
||||
for i in xrange(len(value)):
|
||||
if not firstspace:
|
||||
|
||||
if value[i].isspace():
|
||||
firstspace = True
|
||||
retVal += " "
|
||||
continue
|
||||
if value[i].isspace():
|
||||
retVal += " "
|
||||
continue
|
||||
|
||||
elif value[i] == '\'':
|
||||
quote = not quote
|
||||
|
|
Loading…
Reference in New Issue
Block a user