mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 00:42:23 +01:00
update regarding bug reported by Ole Rasmussen
This commit is contained in:
parent
cad8f61d55
commit
4129cb22a7
1 changed files with 6 additions and 3 deletions
|
|
@ -300,8 +300,11 @@ class Agent:
|
|||
elif fieldsNoSelect:
|
||||
fieldsToCastStr = fieldsNoSelect
|
||||
|
||||
fieldsToCastList = fieldsToCastStr.replace(", ", ",")
|
||||
fieldsToCastList = fieldsToCastList.split(",")
|
||||
if re.search("\A\w+\(.*\)", fieldsToCastStr, re.I): #function
|
||||
fieldsToCastList = [fieldsToCastStr]
|
||||
else:
|
||||
fieldsToCastList = fieldsToCastStr.replace(", ", ",")
|
||||
fieldsToCastList = fieldsToCastList.split(",")
|
||||
|
||||
return fieldsSelectFrom, fieldsSelect, fieldsNoSelect, fieldsSelectTop, fieldsSelectCase, fieldsToCastList, fieldsToCastStr
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue