mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #5576
This commit is contained in:
parent
67ab79a625
commit
29f09e235c
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue