Pages

Created By mian soban


Computer Technology Site

How to Make a Batch Antivirus

Monday, 27 April 2015

Do you want to make your own Batch antivirus that can detect Batch viruses and scan Batch files? There's a little bit complicated step for this.

Steps

  1. Make a Batch Antivirus Step 1 Version 2.jpg
    1
    Open Notepad
    Ad
  2. Make a Batch Antivirus Step 2 Version 2.jpg
    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. Make a Batch Antivirus Step 3 Version 2.jpg
    3
    Save this code as "antivirus.bat"
  4. Make a Batch Antivirus Step 4 Version 2.jpg

No comments:

Post a Comment

 

Most Reading