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

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.

Comments

Popular posts from this blog

FrontEnd Courses

ActiveX

How to Type Faster