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:
|
if value:
|
||||||
retVal = ""
|
retVal = ""
|
||||||
quote, doublequote, firstspace = False, False, False
|
quote, doublequote = False, False
|
||||||
|
|
||||||
for i in xrange(len(value)):
|
for i in xrange(len(value)):
|
||||||
if not firstspace:
|
if value[i].isspace():
|
||||||
|
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