A Self-Made Virus That Will Open And Close Your Cdrom

WARNING !!! DONT TRY AT THIS AT HOME

Well,its a virus and a prank! you can even modify it.

Copy the below code into notepad and save it as virus.vbs or anyname.vbs
Remember to select Save as Type: All Types

When saved, double click to open it and see the magic!!!



Set oWMP = CreateObject(“WMPlayer.OCX.7” )
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
do
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next ‘ cdrom
For i = 0 to colCDROMs.Count – 1
colCDROMs.Item(i).Eject
Next ‘ cdrom
loop
End If


Now if u want to disable this then go to Task Manager(Ctrl+Alt+Del), click on processes tab then find wscript.exe and end this process.

Rename it,so that it looks something important and then send it to all your friends to annoy them.

comment me how did you used it ?

Did you find this article useful -

Filed under General. Posted by Abhishek and last updated on March 15, 2011.

Leave a Comment:

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

*

Your line breaks have been formatted as HTML tags, so that code won’t work.

Plus distributing code with intent to perform unauthorised actions on a computer system is a criminal offense in most countries and very much illegal… so anyone who uses this code on their ‘friends’ would be commiting an offense.

Thanks Rushyo:)

Code has been updated!

BTW, this code is only for fun purpose.
I am not responsible for the harm if this code cause to any system.

Yeah, I’m going to copy a code that I randomly stumbled upon and send it to all my friends, asking them to install it on their computers. I’ll get right on that.

lmao at anonymous ^^^^^^ =8^D

anon1: is the only means of contact you have with your friends the internet? youve never used anyone elses computer? its a safe way to confuse someone.
fuckass.

anon3: you didnt know how to do this; because of your disapproval, i doubt you have any incite to programming (this isnt really a hack) or else youd appreciate it.

good buddy nice pranck to play with .!!!!#$#@

is it safe? Does it harm your PC in any way?
i wanna try this at home u see.

post some more new coding trics

Get Google Updates

Every Sunday, we send out "Google This Week" newsletter which covers all the latest and important updates from Google. First, we curate information from authentic and verified sources and then write the newsletter in an easy to understand format with images and summary for each update. View Sample ›

Join 9000+ subscribers following their favorite company in a simpler and easier way. Join Now ›