Follow us on Twitter!
The important thing is not to stop questioning. - Albert Einstein
Monday, April 21, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 24
Guests Online: 24
Members Online: 0

Registered Members: 82852
Newest Member: sockpuppets
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

Disable USB


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 13-02-10 14:11
img97.imageshack.us/img97/3848/scrhg.jpg

A small simple tool that disables USB drives in C++.

Here is the basic code that disables the USB.
Simple registry editing

Code
DWORD res;
DWORD dwVal1 = 4;
HKEY hKey;
res=RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SYSTEM\\CurrentControlSet\\Services\\UsbStor", 0, KEY_ALL_ACCESS, &hKey);                 if(res!=ERROR_SUCCESS)
{
MessageBox(0,"Error Disabling USB","Error",MB_ICONEXCLAMATION|MB_OK  );
}
res=RegSetValueEx (hKey, "Start", 0, REG_DWORD, (LPBYTE)&dwVal1 , sizeof(DWORD));                           
if(res==ERROR_SUCCESS)
   MessageBox(0,"Disabling USB Done","Success",0);




Here is the link to the tool
http://www.sendsp. . .ile/cwzt9z
Author

RE: Disable USB

korg
Admin from hell



Posts: 2798
Location: ENDING YOUR ONLINE EXPERIENCE!
Joined: 01.01.06
Rank:
God
Posted on 14-02-10 01:38
I've had that some reg. edit in a batch file for ever. Why are you posting someone Else's work BTW.


i57.photobucket.com/albums/g215/korg1269/shodan13.jpg

I deal in pain, All life I drain, I dominate, I seal your fate.
O R
Author

RE: Disable USB


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-02-10 04:04
I have reasons to believe DMWM's account is hacked. I urge an administrator to take a look at this matter.


Author

RE: Disable USB


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 14-02-10 06:09
Oh God..

Actually I was posting it for starters who did not know about it
on how to do it in a C\C++ program.

This was one of the small apps I wrote during my vacation
a few years ago (It was written by myself..if u have doubt.., plz mail me on that address or something :) .

I have submitted a Win32 API registry editing functions article
and thought that this thread would act as an example..
It was not accepted as it turned out blank on submission I was told.


Sorry if I had done something wrong...
my account is not hacked lol :)



Edited by on 14-02-10 06:33