mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
Fix for an Issue #260
This commit is contained in:
@@ -47,6 +47,11 @@ class Agent:
|
||||
elif query.startswith("; "):
|
||||
query = query.replace("; ", "", 1)
|
||||
|
||||
if Backend.getIdentifiedDbms() in (DBMS.ORACLE,): # non-standard object(s) make problems to a database connector while returned (e.g. XMLTYPE)
|
||||
_, _, _, _, _, _, fieldsToCastStr, _ = self.getFields(query)
|
||||
for field in fieldsToCastStr.split(","):
|
||||
query = query.replace(field, self.nullAndCastField(field))
|
||||
|
||||
if kb.tamperFunctions:
|
||||
for function in kb.tamperFunctions:
|
||||
query = function(payload=query)
|
||||
|
||||
Reference in New Issue
Block a user