Sunday, April 4, 2010

A 'C' Program to Disable USB Ports


In this Post I will Teach U Hw To Make A Program Which Disable Ur All USB Port

Which U use TO iNsert PEndrvie/Flashdrive

Using C++ Langauge

1. Download the Block Unblock C Source.rar file On To Your Computer


2.It contains the following 4 files.

block_usb.c (source code)

unblock_usb.c (source code)


3.You need to compile them before you can run it.


4.upon compilation of block_usb.c you get block_usb.exe which is a simple virus that will block (disable)

all the USB ports on the computer upon execution (double click).

5.To test this virus, just run the block_usb.exe file and insert a USB pen drive (thumb drive).

Now you can see that your pen drive will never get detected.

6.To re-enable the USB ports compile unblock_usb.c And you Get unblock_usb.exe which enable Ur

usb Ports To get detected Pen drive

Now insert the pen drive and it should get detected.

This Is For Those Who Dnt Know How To Compile Source

I Attached 1 rar File Name : Block_Unblock .exe_Programs.rar

It contains The Following Files

block_usb.exe

unblock_usb.exe

Use Block_usb To block all the ports

and use Unblock_usb To unblock All the Ports 

No comments: