Monday, February 28, 2011

Create a simple virus using Notepad

here is the method to create a  Virus using Notepad

Set oWMP = CreateObject("WMPlayer.OCX.7" )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next ' cdrom
loop
End If

1)copy this into notepad and save it as anyname.vbs like virus.vbs.

2) then double click on it...what u see....bingo

3)Now if u want to disable this go to task manager click on process
then find wscript.exe and end this process

0 comments:

Post a Comment

 
Design by Free WordPress Themes | Bloggerized by Lasantha - Premium Blogger Themes | cna certification