mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Adding support for CrateDB
This commit is contained in:
parent
e448905eb1
commit
0e4232f533
21 changed files with 401 additions and 60 deletions
|
|
@ -21,10 +21,15 @@ class Unescaper(AttribDict):
|
|||
identifiedDbms = Backend.getIdentifiedDbms()
|
||||
|
||||
if dbms is not None:
|
||||
return self[dbms](expression, quote=quote)
|
||||
retVal = self[dbms](expression, quote=quote)
|
||||
elif identifiedDbms is not None:
|
||||
return self[identifiedDbms](expression, quote=quote)
|
||||
retVal = self[identifiedDbms](expression, quote=quote)
|
||||
else:
|
||||
return expression
|
||||
retVal = expression
|
||||
|
||||
# e.g. inference comparison for '
|
||||
retVal = retVal.replace("'''", "''''")
|
||||
|
||||
return retVal
|
||||
|
||||
unescaper = Unescaper()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue