mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-24 21:53:54 +00:00
Merge branch 'master' of github.com:hackTricks-wiki/hacktricks
This commit is contained in:
commit
d1c5b10843
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue