Saturday, December 10, 2016

Creating a Harmless Cdrom Virus

Open Notepad and Paste the following code in 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 really 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.
Also Read: H

No comments:

Post a Comment