| View previous topic :: View next topic |
| Author |
Message |
cildor666 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2008 Posts: 95
|
Posted: Sun Oct 05, 2008 4:17 am Post subject: Stopping key shortcuts as long as your app is open. |
|
|
Is there a way to stop Task Manager from being opened as long as your app is opened, so if somebody does 'Ctrl Alt + Delete' a message box pops up saying "Task Manager is disabled" and it stops it from opening.
I'm using Visual Basic 2008 Express.
Any help is greatly appreciated.
|
|
| Back to top |
|
 |
Noz3001 I'm a spammer
Reputation: 26
Joined: 29 May 2006 Posts: 6220 Location: /dev/null
|
Posted: Sun Oct 05, 2008 4:23 am Post subject: |
|
|
| FindWindow, lololol. Or disable it via the registry.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Oct 05, 2008 4:24 am Post subject: |
|
|
| I guess you could watch for the process and shut it down after as soon as you detect it.
|
|
| Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Sun Oct 05, 2008 5:17 am Post subject: |
|
|
Hook NtOpenProcess
_________________
Blog
| Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 475
Joined: 09 May 2003 Posts: 25987 Location: The netherlands
|
Posted: Sun Oct 05, 2008 5:25 am Post subject: |
|
|
hook the ctrl-alt-delete interrupt (0x19)
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
tombana Master Cheater
Reputation: 2
Joined: 14 Jun 2007 Posts: 456 Location: The Netherlands
|
|
| Back to top |
|
 |
cildor666 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2008 Posts: 95
|
Posted: Sun Oct 05, 2008 9:27 am Post subject: |
|
|
| tombana wrote: | http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/regentry/93504.mspx?mfr=true
If you set the DisableTaskMgr entry to 1 in:
HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\System
then users will get a message saying something like 'Task Manager has been disabled on your system'. |
Ok, so what would the code be to disable it while it is loading. And to enable it at form closing?
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sun Oct 05, 2008 10:35 am Post subject: |
|
|
| RegOpenKeyEx/RegSetValue/RegCloseKey ?
|
|
| Back to top |
|
 |
cildor666 Advanced Cheater
Reputation: 0
Joined: 08 Mar 2008 Posts: 95
|
Posted: Sun Oct 05, 2008 10:39 am Post subject: |
|
|
| Slugsnack wrote: | | RegOpenKeyEx/RegSetValue/RegCloseKey ? |
I figured out my own way, i created a timer and set the interval to 50 and in the timer code i put this : Shell("C:\WINDOWS\system32\tskill.exe taskmgr")
And it works
|
|
| Back to top |
|
 |
Polynomial Grandmaster Cheater
Reputation: 5
Joined: 17 Feb 2008 Posts: 524 Location: Inside the Intel CET shadow stack
|
Posted: Sun Oct 05, 2008 7:27 pm Post subject: |
|
|
That's horrible ¬_¬
Learn to code properly.
|
|
| Back to top |
|
 |
Overload Master Cheater
Reputation: 0
Joined: 08 Feb 2008 Posts: 293
|
Posted: Sun Oct 05, 2008 7:52 pm Post subject: |
|
|
| Burningmace wrote: | That's horrible ¬_¬
Learn to code properly. |
No kidding.
If you don't want to allow the process to open at all, hook the Ctrl+Alt+Delete interrupt like DarkByte said, but if you want to do it for any program, hook NtOpenProcess, and just make the hook set on the process specified by the user.
But If you want to just kill it, then learn to kill it properly.
_________________
Blog
| Quote: | Rhys says:
you can be my maid
Rhys says:
ill buy you a french maid outfit
Tyler says:
Sounds good
Rhys says:
ill hold you to that |
|
|
| Back to top |
|
 |
Polynomial Grandmaster Cheater
Reputation: 5
Joined: 17 Feb 2008 Posts: 524 Location: Inside the Intel CET shadow stack
|
Posted: Sun Oct 05, 2008 8:01 pm Post subject: |
|
|
I'm also less inclined to give out information to this guy. Little coding knowledge and -1 reputation asking a question like this screams "virus".
So, unless he fancies learning to hook NtOpenProcess like a proper programmer, I'm leaving this thread well alone.
|
|
| Back to top |
|
 |
Rev. How do I cheat?
Reputation: 0
Joined: 23 Jul 2008 Posts: 5
|
Posted: Sun Oct 05, 2008 8:59 pm Post subject: |
|
|
| cildor666 wrote: | | Slugsnack wrote: | | RegOpenKeyEx/RegSetValue/RegCloseKey ? |
I figured out my own way, i created a timer and set the interval to 50 and in the timer code i put this : Shell("C:\WINDOWS\system32\tskill.exe taskmgr")
And it works  |
That's a terrible way to do it. Let alone using a timer to kill a process, you used another program to do it.
|
|
| Back to top |
|
 |
|