Merge pull request #882 from AgnellusX1/master

Fixing One Liner
This commit is contained in:
SirBroccoli 2024-06-17 11:20:12 +02:00 committed by GitHub
commit 51f984eb4a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -223,7 +223,7 @@ sp_configure 'xp_cmdshell', '1'
RECONFIGURE RECONFIGURE
#One liner #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 # Quickly check what the service account is via xp_cmdshell
EXEC master..xp_cmdshell 'whoami' EXEC master..xp_cmdshell 'whoami'