Have you ever think to create a virus? If yes, then here a simple trick to create a virus that enables your CD-ROM to be continuously open & close Don't worry it doesn't harm your PC. Its a simple harmless virus trick which I have found in a book related to virus. Its a funny trick. You can send the created file to your friends also to give tension to them. As soon as your friend opens the file his CD-ROM will continuously eject. You can also easily stop this process. So don't worry & go ahead to create a small funny virus.
Steps :
Step 1 : Open Notepad & paste following code in it.
Steps :
Step 1 : Open Notepad & paste following code in it.
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
|
Step 2 : Save it with name Virus.vbs (.vbs is must)
That's It. When you open this file your CD-ROM will be continuously eject. You also change the time duration that we have declared in ' wscript sleep 5000 ' by changing the value of 5000. Note that this value in in ms.
How To Stop This :
Step 1 : Open task manager ( Ctrl + Alt + Del ).
Step 2 : Go to Processes tab and select wscript.exe.
Step 3 : Click on End Processes button. A dialog box will appear click on Yes.
0 comments:
Post a Comment