mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Minor revert and proper fix
This commit is contained in:
parent
b74cfbf336
commit
fc560f2b75
|
@ -380,7 +380,7 @@ class Agent(object):
|
||||||
nulledCastedConcatFields = fields
|
nulledCastedConcatFields = fields
|
||||||
else:
|
else:
|
||||||
fields = fields.replace(", ", ',')
|
fields = fields.replace(", ", ',')
|
||||||
commas = [0, len(fields)]
|
commas = [-1, len(fields)]
|
||||||
depth = 0
|
depth = 0
|
||||||
for index in xrange(len(fields)):
|
for index in xrange(len(fields)):
|
||||||
char = fields[index]
|
char = fields[index]
|
||||||
|
@ -391,7 +391,7 @@ class Agent(object):
|
||||||
elif depth == 0 and char == ',':
|
elif depth == 0 and char == ',':
|
||||||
commas.append(index)
|
commas.append(index)
|
||||||
commas = sorted(commas)
|
commas = sorted(commas)
|
||||||
fieldsSplitted = [fields[x:y].strip(",") for (x, y) in zip(commas, commas[1:])]
|
fieldsSplitted = [fields[x + 1:y] for (x, y) in zip(commas, commas[1:])]
|
||||||
dbmsDelimiter = queries[Backend.getIdentifiedDbms()].delimiter.query
|
dbmsDelimiter = queries[Backend.getIdentifiedDbms()].delimiter.query
|
||||||
nulledCastedFields = []
|
nulledCastedFields = []
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user