mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Fix for an Issue #260
This commit is contained in:
parent
35d1146fd1
commit
a7e1e856d4
|
@ -47,6 +47,11 @@ class Agent:
|
||||||
elif query.startswith("; "):
|
elif query.startswith("; "):
|
||||||
query = query.replace("; ", "", 1)
|
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:
|
if kb.tamperFunctions:
|
||||||
for function in kb.tamperFunctions:
|
for function in kb.tamperFunctions:
|
||||||
query = function(payload=query)
|
query = function(payload=query)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user