Sqlserver开启xp_cmdshell:
EXEC sp_configure ‘show advanced options‘, 1;
RECONFIGURE WITH OVERRIDE;
EXEC sp_configure ‘Ole Automation Procedures‘, 1;
RECONFIGURE WITH OVERRIDE;
EXEC sp_configure ‘show advanced options‘, 0;
exec master..xp_cmdshell "whoami"
原文:https://www.cnblogs.com/kuyeokuye/p/12378409.html
如果您也喜欢它,动动您的小指点个赞吧