mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
update regarding bug reported by Ole Rasmussen
This commit is contained in:
parent
cad8f61d55
commit
4129cb22a7
|
@ -299,9 +299,12 @@ class Agent:
|
||||||
fieldsToCastStr = fieldsSelect.groups()[0]
|
fieldsToCastStr = fieldsSelect.groups()[0]
|
||||||
elif fieldsNoSelect:
|
elif fieldsNoSelect:
|
||||||
fieldsToCastStr = fieldsNoSelect
|
fieldsToCastStr = fieldsNoSelect
|
||||||
|
|
||||||
fieldsToCastList = fieldsToCastStr.replace(", ", ",")
|
if re.search("\A\w+\(.*\)", fieldsToCastStr, re.I): #function
|
||||||
fieldsToCastList = fieldsToCastList.split(",")
|
fieldsToCastList = [fieldsToCastStr]
|
||||||
|
else:
|
||||||
|
fieldsToCastList = fieldsToCastStr.replace(", ", ",")
|
||||||
|
fieldsToCastList = fieldsToCastList.split(",")
|
||||||
|
|
||||||
return fieldsSelectFrom, fieldsSelect, fieldsNoSelect, fieldsSelectTop, fieldsSelectCase, fieldsToCastList, fieldsToCastStr
|
return fieldsSelectFrom, fieldsSelect, fieldsNoSelect, fieldsSelectTop, fieldsSelectCase, fieldsToCastList, fieldsToCastStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user