mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor bug fixes to --privileges for PostgreSQL query (corner case)
This commit is contained in:
parent
1879a49506
commit
74ef1e53c7
2 changed files with 3 additions and 3 deletions
|
|
@ -389,7 +389,7 @@ class Agent:
|
|||
fieldsToCastStr = fieldsNoSelect
|
||||
|
||||
# Function
|
||||
if re.search("\A\w+\(.*\)", fieldsToCastStr, re.I) or fieldsSelectCase or fieldsSubstr:
|
||||
if re.search("\A\w+\(.*\)", fieldsToCastStr, re.I) or (fieldsSelectCase and "WHEN use" not in query) or fieldsSubstr:
|
||||
fieldsToCastList = [fieldsToCastStr]
|
||||
else:
|
||||
fieldsToCastList = fieldsToCastStr.replace(", ", ",")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue