Saturday, November 21, 2015

How to Make a Batch Antivirus

1 Open Notepad 2 Type the code at the next step: @echo off color cb title Batch Antivirus cls echo =============== echo [ Batch-Master] echo =============== echo If There's no message ,You are protected. set /p a=Enter a batch file to scan: for /f %%x in ( 'findstr /i /m "virus r.i.p byebye HaHaHa Hacked Hack" %a%.bat' ) do ( if /i %%x equ %a%.bat ( for /f %%z in ( 'findstr /i /b /m "tskill del copy shutdown ipconfig ren reg" %a%.bat' ) do ( if /i %%z equ %a%.bat ( cls echo Virus Detected!! del %a%.bat echo %a%.bat was deleted.... pause >nul ) ) ) ) pause >nul 3 Save this code as "antivirus.bat"

No comments:

Post a Comment