Saturday 12 November 2011

Create Simple Virus that will eject CD Drive Continuously

Make simple virus that will eject CD Drive Continuously.
  1. Open Notepad and Write Following 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
2. Now Save this file as "Eject.vbs" . Run this file and it will start ejecting cd drive.

that's it and this is only for fun.............

No comments:

Post a Comment