mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 05:01:30 +00:00
initial support for --dbms-cred for MSSQL: can be used to execute OS commands as another DB use - useful if you have retrieved and cracked the 'sa' DBA password by any mean and can provide it to sqlmap
This commit is contained in:
@@ -45,8 +45,8 @@ def direct(query, content=True):
|
||||
logger.log(9, query)
|
||||
|
||||
output = hashDBRetrieve(query, True, True)
|
||||
|
||||
start = time.time()
|
||||
|
||||
if not select and "EXEC " not in query:
|
||||
_ = timeout(func=conf.dbmsConnector.execute, args=(query,), duration=conf.timeout, default=None)
|
||||
elif not (output and "sqlmapoutput" not in query and "sqlmapfile" not in query):
|
||||
|
||||
Reference in New Issue
Block a user