mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +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:
parent
87951bcff8
commit
6697927098
6 changed files with 62 additions and 5 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue