mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-18 04:20:35 +03:00
temporary patch to fix UNION query enumeration
This commit is contained in:
parent
92ea8841f8
commit
fdd6075859
|
@ -130,7 +130,7 @@ class Agent(object):
|
||||||
retVal = paramString.replace(origValue, self.addPayloadDelimiters(newValue))
|
retVal = paramString.replace(origValue, self.addPayloadDelimiters(newValue))
|
||||||
else:
|
else:
|
||||||
retVal = paramString.replace("%s=%s" % (parameter, origValue),
|
retVal = paramString.replace("%s=%s" % (parameter, origValue),
|
||||||
"%s=%s" % (parameter, self.addPayloadDelimiters(newValue)))
|
"%s=%s" % (parameter, self.addPayloadDelimiters(newValue)))
|
||||||
|
|
||||||
return retVal
|
return retVal
|
||||||
|
|
||||||
|
@ -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] for (x, y) in zip(commas, commas[1:])]
|
fieldsSplitted = [fields[x:y].strip(",") 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