mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +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:
|
elif fieldsSelectFrom:
|
||||||
_ = zeroDepthSearch(query, " FROM ")
|
_ = zeroDepthSearch(query, " FROM ")
|
||||||
fieldsToCastStr = query[:unArrayizeValue(_)] if _ else query
|
fieldsToCastStr = query[:unArrayizeValue(_)] if _ else query
|
||||||
fieldsToCastStr = re.sub(r"\ASELECT\s+", "", fieldsToCastStr)
|
fieldsToCastStr = re.sub(r"\ASELECT%s\s+" % prefixRegex, "", fieldsToCastStr)
|
||||||
elif fieldsSelect:
|
elif fieldsSelect:
|
||||||
fieldsToCastStr = fieldsSelect.groups()[0]
|
fieldsToCastStr = fieldsSelect.groups()[0]
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user