View previous topic :: View next topic |
Author |
Message |
flashcoder Newbie cheater Reputation: 0
Joined: 29 Jan 2017 Posts: 14
|
Posted: Sun Mar 05, 2017 5:07 pm Post subject: How unhook APIs Message of another process? |
|
|
I am developing a project which needs to unhook some API messages from other processes.
I know that it is possible to do this task because this option exists in PC Hunter software.
I need to unhook these APIs through my application.
I've already searched about this subject and nothing useful was found.
Can someone help me with this?
Description: |
|
Filesize: |
34.74 KB |
Viewed: |
9657 Time(s) |
|
|
|
Back to top |
|
|
atom0s Moderator Reputation: 199
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
|
Back to top |
|
|
atom0s Moderator Reputation: 199
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
|
Back to top |
|
|
flashcoder Newbie cheater Reputation: 0
Joined: 29 Jan 2017 Posts: 14
|
Posted: Sun Mar 05, 2017 8:25 pm Post subject: Possible solution |
|
|
I discovered in a question in StackOverflow, that is possible to hook CallNextHook api to obtain the id of hook, and so unhook with UnhookWindowsHookEx api.
See, search in Google like this:
Possible to disable a hook made with SetWindowsHookEx run-time?
|
|
Back to top |
|
|
atom0s Moderator Reputation: 199
Joined: 25 Jan 2006 Posts: 8518 Location: 127.0.0.1
|
Posted: Mon Mar 06, 2017 1:55 am Post subject: Re: Possible solution |
|
|
flashcoder wrote: | I discovered in a question in StackOverflow, that is possible to hook CallNextHook api to obtain the id of hook, and so unhook with UnhookWindowsHookEx api.
See, search in Google like this:
Possible to disable a hook made with SetWindowsHookEx run-time?
|
With the info I provided above you will have access to the information used with SetWindowsHookEx to be able to unset a hook. The handle, function pointer, etc. are all available after walking into the right data.
_________________
- Retired. |
|
Back to top |
|
|
|