一句话开启XP_CMDSHELL

EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE
原文地址:https://www.cnblogs.com/secbook/p/2654859.html