sqlmap/procs/mssqlserver/configure_xp_cmdshell.sql
2012-07-10 00:19:32 +01:00

7 lines
228 B
SQL

EXEC master..sp_configure 'show advanced options',1;
RECONFIGURE WITH OVERRIDE;
EXEC master..sp_configure 'xp_cmdshell',%ENABLE%;
RECONFIGURE WITH OVERRIDE;
EXEC sp_configure 'show advanced options',0;
RECONFIGURE WITH OVERRIDE