mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Fix for an Issue #364
This commit is contained in:
parent
457217f2d3
commit
b35a0810ef
|
@ -443,7 +443,7 @@ class Agent(object):
|
|||
elif fieldsSelectFrom:
|
||||
_ = zeroDepthSearch(query, " FROM ")
|
||||
fieldsToCastStr = query[:unArrayizeValue(_)] if _ else query
|
||||
fieldsToCastStr = re.sub(r"\ASELECT\s+", "", fieldsToCastStr)
|
||||
fieldsToCastStr = re.sub(r"\ASELECT%s\s+" % prefixRegex, "", fieldsToCastStr)
|
||||
elif fieldsSelect:
|
||||
fieldsToCastStr = fieldsSelect.groups()[0]
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user