Files
metasploit-gs/modules/auxiliary/admin
james e642789674 Look for sp_execute_external_script in mssql_enum
sp_execute_external_script can be used to execute code in MSSQL.
MSSQL 2016+ can be configured to execute R code. MSSQL 2017 can
be configured to execute Python code.

Documentation:
https://docs.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-execute-external-script-transact-sql
https://docs.microsoft.com/en-us/sql/advanced-analytics/tutorials/rtsql-using-r-code-in-transact-sql-quickstart

Interesting uses of sp_execute_external_script:
R - https://pastebin.com/zBDnzELT
Python - https://gist.github.com/james-otten/63389189ee73376268c5eb676946ada5
2017-08-16 21:40:03 -05:00
..
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00
2017-07-24 06:26:21 -07:00