Create your own Anti-Virus in Notepad++
Posted in tricks, Virus
Create your own Anti-Virus in Notepad++ … mind you this meant against low level macro viruses.
For other you should pull out the big guns
Type the following code into Notepad:
@ echo off
echo off turn off the active virus
taskkill / F / IM virusname1.exe / IM virusname2.exe
echo Deleting all of viruses based on size
for / RC: %% a in (*. exe) do if%% ~ za 157,184 equ del / A: HSRA “%% a”
echo deleting hidden virus
echo for drive c and subfolders
for / R C: %% a in (*. doc.exe) do del “%% a”
echo for drive d and subfolders
for / R D: %% a in (*. doc.exe) do del “%% a”
echo Unhide Document
cd / d c:
echo for drive C and subfolders
*. doc attrib-H-S-A / S
cd / d d:
echo for drive D and subfolders
*. doc attrib-H-S-A / S
exit
Save the file with bat extension, For example antivirus.bat. then go to command prompt and run the Notepad file
For other you should pull out the big guns
Type the following code into Notepad:
@ echo off
echo off turn off the active virus
taskkill / F / IM virusname1.exe / IM virusname2.exe
echo Deleting all of viruses based on size
for / RC: %% a in (*. exe) do if%% ~ za 157,184 equ del / A: HSRA “%% a”
echo deleting hidden virus
echo for drive c and subfolders
for / R C: %% a in (*. doc.exe) do del “%% a”
echo for drive d and subfolders
for / R D: %% a in (*. doc.exe) do del “%% a”
echo Unhide Document
cd / d c:
echo for drive C and subfolders
*. doc attrib-H-S-A / S
cd / d d:
echo for drive D and subfolders
*. doc attrib-H-S-A / S
exit
Save the file with bat extension, For example antivirus.bat. then go to command prompt and run the Notepad file
0 comments: