mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Adding CUBRID to dbwire
This commit is contained in:
parent
dad2f02f28
commit
59933891e0
6 changed files with 451 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue