باسم الله الرحمان الرحيم .... نبدأ في الموضوع على بركة اللهالموضوع هو عبارة عن كيفية صنع مضاد فيروسات صغير و فعالاولا افتح النوتباد او المفكرة و قم بلصق التالي :@echo off
rem *************begin**********
title anti-host by \-///menadi\\\-/
color 0a
echo notes:
echo 1.this tool is special to remove 'HOST.exe' and 'copy.exe' virus.
echo 2.autorun.inf in all drive will be removed.
echo 3.floppydisk will not be scaned.
echo 4.only drives in [C:\ to O:\] will be scaned
echo ..
pause
cls
color 0f cpt
set cpt=0
rem *************reg*********************
reg delete "HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows" /v load /f temp1 ? temp2
rem ************tasks***************
if exist %systemroot%\system32\temp1.exe (echo virus detected!!!:%systemroot%\system32\temp1.exe
set /a cpt+=1
taskkill /im temp1.exe /f)
if exist %systemroot%\system32\temp2.exe (echo virus detected!!!:%systemroot%\system32\temp2.exe
set /a cpt+=1
taskkill /im temp2.exe /f)
rem **************win****************
if exist %systemroot%\svchost.exe (echo virus detected!!!:%systemroot%\svchost.exe
set /a cpt+=1
attrib -h -r -s %systemroot%\svchost.exe
del %systemroot%\svchost.exe)
if exist %systemroot%\xcopy.exe (echo virus detected!!!:%systemroot%\xcopy.exe
set /a cpt+=1
attrib -h -r -s %systemroot%\xcopy.exe
del %systemroot%\xcopy.exe)
if exist %systemroot%\love.bat (echo virus detected!!!:%systemroot%\love.bat
set /a cpt+=1
attrib -h -r -s %systemroot%\xcopy.exe
del %systemroot%\love.bat)
if exist %systemroot%\autorun.inf (attrib -h -r -s %systemroot%\autorun.inf
del %systemroot%\autorun.inf)
rem ******************c:\*****************
if exist c:\host.exe (echo virus detected!!!:c:\host.exe
set /a cpt+=1
attrib -h -r -s c:\host.exe
del c:\host.exe)
if exist c:\copy.exe (echo virus detected!!!:c:\copy.exe
set /a cpt+=1
attrib -h -r -s c:\copy.exe
del c:\copy.exe)
if exist c:\autorun.inf (attrib -h -r -s c:\autorun.inf
del c:\autorun.inf)
rem ******************D:\*****************
if exist D:\host.exe (echo virus detected!!!
:\host.exe
set /a cpt+=1
attrib -h -r -s D:\host.exe
del D:\host.exe)
if exist D:\copy.exe (echo virus detected!!!
:\copy.exe
set /a cpt+=1
attrib -h -r -s D:\copy.exe
del D:\copy.exe)
if exist D:\autorun.inf (attrib -h -r -s D:\autorun.inf
del D:\autorun.inf)
rem ******************E:\*****************
if exist E:\host.exe (echo virus detected!!!:E:\host.exe
set /a cpt+=1
attrib -h -r -s E:\host.exe
del E:\host.exe)
if exist E:\copy.exe (echo virus detected!!!:E:\copy.exe
set /a cpt+=1
attrib -h -r -s E:\copy.exe
del E:\copy.exe)
if exist E:\autorun.inf (attrib -h -r -s E:\autorun.inf
del E:\autorun.inf)
rem ******************F:\*****************
if exist F:\host.exe (echo virus detected!!!:F:\host.exe
set /a cpt+=1
attrib -h -r -s F:\host.exe
del F:\host.exe)
if exist F:\copy.exe (echo virus detected!!!:F:\copy.exe
set /a cpt+=1
attrib -h -r -s F:\copy.exe
del F:\copy.exe)
if exist F:\autorun.inf (attrib -h -r -s F:\autorun.inf
del F:\autorun.inf)
rem ******************G:\*****************
if exist G:\host.exe (echo virus detected!!!:G:\host.exe
set /a cpt+=1
attrib -h -r -s G:\host.exe
del G:\host.exe)
if exist G:\copy.exe (echo virus detected!!!:G:\copy.exe
set /a cpt+=1
attrib -h -r -s G:\copy.exe
del G:\copy.exe)
if exist G:\autorun.inf (attrib -h -r -s G:\autorun.inf
del G:\autorun.inf)
rem ******************H:\*****************
if exist H:\host.exe (echo virus detected!!!:H:\host.exe
set /a cpt+=1
attrib -h -r -s H:\host.exe
del H:\host.exe)
if exist H:\copy.exe (echo virus detected!!!:H:\copy.exe
set /a cpt+=1
attrib -h -r -s H:\copy.exe
del H:\copy.exe)
if exist H:\autorun.inf (attrib -h -r -s H:\autorun.inf
del H:\autorun.inf)
rem ******************I:\*****************
if exist I:\host.exe (echo virus detected!!!:I:\host.exe
set /a cpt+=1
attrib -h -r -s I:\host.exe
del I:\host.exe)
if exist I:\copy.exe (echo virus detected!!!:I:\copy.exe
set /a cpt+=1
attrib -h -r -s I:\copy.exe
del I:\copy.exe)
if exist I:\autorun.inf (attrib -h -r -s I:\autorun.inf
del I:\autorun.inf)
rem ******************J:\*****************
if exist J:\host.exe (echo virus detected!!!:J:\host.exe
set /a cpt+=1
attrib -h -r -s J:\host.exe
del J:\host.exe)
if exist J:\copy.exe (echo virus detected!!!:J:\copy.exe
set /a cpt+=1
attrib -h -r -s J:\copy.exe
del J:\copy.exe)
if exist J:\autorun.inf (attrib -h -r -s J:\autorun.inf
del J:\autorun.inf)
rem ******************K:\*****************
if exist K:\host.exe (echo virus detected!!!:K:\host.exe
set /a cpt+=1
attrib -h -r -s K:\host.exe
del K:\host.exe)
if exist k:\autoexec.bat (echo virus detected!!!:k:\autoexec.bat
set /a cpt+=1
attrib -h -r -s c:\autoexec.bat
del k:\autoexec.bat)
if exist k:\love.bat (echo virus detected!!!:k:\love.bat
set /a cpt+=1
attrib -h -r -s c:\love.bat
del k:\love.bat)
if exist K:\copy.exe (echo virus detected!!!:K:\copy.exe
set /a cpt+=1
attrib -h -r -s K:\copy.exe
del K:\copy.exe)
if exist K:\autorun.inf (attrib -h -r -s K:\autorun.inf
del K:\autorun.inf)
rem ******************L:\*****************
if exist L:\host.exe (echo virus detected!!!:L:\host.exe
set /a cpt+=1
attrib -h -r -s L:\host.exe
del L:\host.exe)
if exist L:\copy.exe (echo virus detected!!!:L:\copy.exe
set /a cpt+=1
attrib -h -r -s L:\copy.exe
del L:\copy.exe)
if exist L:\autorun.inf (attrib -h -r -s L:\autorun.inf
del L:\autorun.inf)
rem ******************M:\*****************
if exist M:\host.exe (echo virus detected!!!:M:\host.exe
set /a cpt+=1
attrib -h -r -s M:\host.exe
del M:\host.exe)
if exist M:\copy.exe (echo virus detected!!!:M:\copy.exe
set /a cpt+=1
attrib -h -r -s M:\copy.exe
del M:\copy.exe)
if exist M:\autorun.inf (attrib -h -r -s M:\autorun.inf
del M:\autorun.inf)
rem ******************N:\*****************
if exist N:\host.exe (echo virus detected!!!:N:\host.exe
set /a cpt+=1
attrib -h -r -s N:\host.exe
del N:\host.exe)
if exist N:\copy.exe (echo virus detected!!!:N:\copy.exe
set /a cpt+=1
attrib -h -r -s N:\copy.exe
del N:\copy.exe)
if exist N:\autorun.inf (attrib -h -r -s N:\autorun.inf
del N:\autorun.inf)
rem ******************O:\*****************
if exist O:\host.exe (echo virus detected!!!:O:\host.exe
set /a cpt+=1
attrib -h -r -s O:\host.exe
del O:\host.exe)
if exist O:\copy.exe (echo virus detected!!!:O:\copy.exe
set /a cpt+=1
attrib -h -r -s O:\copy.exe
del O:\copy.exe)
if exist O:\autorun.inf (attrib -h -r -s O:\autorun.inf
del O:\autorun.inf)
temp1 ? temp2
rem ************sys32***************
if exist %systemroot%\system32\temp1.exe (attrib -h -s -r %systemroot%\system32\temp1.exe
del %systemroot%\system32\temp1.exe)
if exist %systemroot%\system32\temp2.exe (attrib -h -s -r %systemroot%\system32\temp2.exe
del %systemroot%\system32\temp2.exe)
rem ****************result******************
pause
cls
if %cpt%==0 (color 0a) else (color 0c)
echo /\/\/\/\/\/\/\/\/\/\/\/\/\/\
echo () ()
echo %cpt% viruses found...
echo () ()
echo \/\/\/\/\/\/\/\/\/\/\/\/\/\/
rem *****************finish*********************
echo !! !!
echo +-------------+
echo !\-///AsM\\\-/!
echo +-------------+
pause
exit
وفي الاخير احفظ باسم و بامتداد .bat
انتهى
ننتظر الردود.......