sqlmap/procs/mssqlserver/configure_xp_cmdshell.txt
2012-02-15 14:05:50 +00:00

6 lines
231 B
Plaintext

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;