mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-15 12:19:03 +00:00
Fixes #5576
This commit is contained in:
@@ -116,6 +116,10 @@ class SQLAlchemy(GenericConnector):
|
||||
def execute(self, query):
|
||||
retVal = False
|
||||
|
||||
# Reference: https://stackoverflow.com/a/69491015
|
||||
if hasattr(_sqlalchemy, "text"):
|
||||
query = _sqlalchemy.text(query)
|
||||
|
||||
try:
|
||||
self.cursor = self.connector.execute(query)
|
||||
retVal = True
|
||||
|
||||
Reference in New Issue
Block a user