Flipkart.com

Monday, 30 April 2012

USB Storage Blocker Program in C

//------------------------------------------------------//
//     Program for USB STORAGE BLOCKER      //
//         Coded by: PS - Hackers-Team            //
//-----------------------------------------------------//


#include<conio.h>
#include<stdio.h>
void main()
{
int o;
a:
clrscr();
gotoxy(30,2); textbackground(20);
cprintf("  USB STORAGE BLOCKER  ");gotoxy(5,5); textbackground(0);
textcolor(2);cprintf("1.");textcolor(7);
cprintf(" Activate BLOCKER");
gotoxy(5,6); textcolor(2);cprintf("2.");
textcolor(7);cprintf(" De-Activate BLOCKER");
gotoxy(5,7); textcolor(2);cprintf("3.");
textcolor(7);cprintf(" Credit");
gotoxy(5,8); textcolor(2);cprintf("4.");
textcolor(7);cprintf(" Exit");
gotoxy(5,10); textcolor(7);cprintf("Enter your choise: ");
scanf("%d", &o);
if(o==1)
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 4 \/f");
clrscr();
gotoxy(25,12);
cprintf("COMMAND COMPLETED SUCCESSFULLY !");
delay(500);
exit(0);
}
else if(o==2)
{
system("reg add HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\USBSTOR \/v Start \/t REG_DWORD \/d 3 \/f");
clrscr();
gotoxy(25,12);
cprintf("COMMAND COMPLETED SUCCESSFULLY !");
delay(500);
exit(0);
}
else if(o==3)
{
clrscr();
gotoxy(30,2); textbackground(20);cprintf("  USB STORAGE BLOCKER  ");
textbackground(0);
textcolor(5);gotoxy(12,5);cprintf("CODED BY:");
textcolor(10);gotoxy(15,6);cprintf("Hacker's Team");
textcolor(BLUE);gotoxy(15,7);cprintf("Facebook-Page: ");
textcolor(76);cprintf("In.Hackers.Team");
textcolor(BLUE);gotoxy(15,9);cprintf("Twitter: ");
textcolor(76);cprintf("hackers_team");
textcolor(5);gotoxy(12,11);cprintf("WEBSITE:");
textcolor(10);gotoxy(15,12);cprintf("www.hackers-team.com");
textcolor(7);
getch();
goto a;
}
else if(o==4)
{
clrscr();
gotoxy(25,12);
cprintf("PLEASE WAIT EXITING PROGRAM...");
delay(200);
exit(0);
}
else
{
clrscr();
gotoxy(25,12);
cprintf("PLEASE CHOOSE THE CORRECT OPTION !");
sound(10);
delay(1000);
nosound();
goto a;
}
}



If you like the post please do suscribe us and like us on Facebook, also follow us on twitter.

0 comments:

Post a comment

IHT