Exploit databaseDownload repository ZIP
GH-db984ad2f3fbc8e39f8dce7979a818cb
yifanzhg/cve-2023-45158
Sources for CVE-2023-45158
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files17
yifanzhg/cve-2023-45158Revision 140058fb5b1f
- ↑..Parent directory
- __init__.py
- base.py
- couchdb.py
- db2.py
- firebird.py
- google.py
- informix.py
- ingres.py
- mongo.py
- mssql.py
- mysql.py
- oracle.py
- postgres.py
- sap.py
- snowflake.py
- sqlite.py
- teradata.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
web2py/gluon/packages/dal/pydal/adapters/teradata.py
Python · 799 bytesfrom . import adapters
from .base import SQLAdapter
@adapters.register_for("teradata")
class Teradata(SQLAdapter):
dbengine = ""
drivers = ("pyodbc",)
def _initialize_(self):
super(Teradata, self)._initialize_()
self.ruri = self.uri.split("://", 1)[1]
def connector(self):
return self.driver.connect(self.ruri, **self.driver_args)
def close(self):
# Teradata does not implicitly close off the cursor
# leading to SQL_ACTIVE_STATEMENTS limit errors
self.cursor.close()
super(Teradata, self).close()
def lastrowid(self, table):
# Teradata cannot retrieve the lastrowid for an IDENTITY Column
# and they are not sequential anyway.
# Similar to the NullCursor class, return 1
return 1