Adding CUBRID to dbwire

This commit is contained in:
Miroslav Štampar 2026-07-12 13:37:04 +02:00
parent dad2f02f28
commit 59933891e0
6 changed files with 451 additions and 5 deletions

View file

@ -33,7 +33,7 @@ class Connector(GenericConnector):
# CUBRIDdb.connect takes a positional URL 'CUBRID:host:port:db:::' then user/password positionally
# (it does not accept hostname/username/database keyword args, which raised a TypeError before)
self.connector = CUBRIDdb.connect("CUBRID:%s:%s:%s:::" % (self.hostname, self.port, self.db), str(self.user), str(self.password))
except Exception as ex:
except CUBRIDdb.Error as ex:
raise SqlmapConnectionException(getSafeExString(ex))
self.initCursor()