Tuesday, June 7, 2011

VIRUS PROGRAM TO DISABLE USB PORTS

0 comments

                               It is a simple C code to disable all your computer USB ports and you can also re-enable the USB port using another code.It is easy to understand who know basics of C programming.


Source Code for disable USB Ports:


#include<stdio.h>
void main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 4 \/f");
}

write down the above code into your C compiler.save the file as "BLOCK_USB.C" And execute the program by pressing Ctrl+F9.Now all your USB ports are disabled.If you want re-enable your USB ports use the below code


Source Code for enable USB Ports:


#include<stdio.h>
void main()
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 3 \/f");
}
write down the code.save the file as "UNBLOCK_USB.C" and execute the file.Now all your USB ports are re-enabled.Enjoy C programming :)


NOTE:If you want to know about how to transfer  this code to another computer and disable all USB ports without the permission of owner.Pls keep visiting  this Blog.

Continue reading →

Source Code of Virus Program

0 comments


            I published  source code of a small  virus program in C.This virus have the ability to infect your system and delete your system files.So use this virus code in your own risk.But don't worry! you can use this virus code in your own computer and study about the working of virus using safe way by following my post.


               If you want the source code of virus program click HERE

WARNING:FOR EDUCATIONAL PURPOSE ONLY.NOT MISUSE THE VIRUS CODE!



Continue reading →