Creating a Harmless Cdrom Virus

Creating a Harmless Cdrom Virus

Open Notepad and Paste the following code into it and save it as CD-ROM.vbs or anything *.vbs

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

Creating a Harmless Cdrom Virus

Creating a Harmless Cdrom Virus

When you double click on this file, you will be amazed at what this simple, harmless virus can do. Your CD/DVD drives will get continuously ejected.

To stop this virus, you need to open Task Manager and select process tab and end the wscript.exe file.

Leave a Reply

Your email address will not be published. Required fields are marked *