| View previous topic :: View next topic |
| Author |
Message |
NINTENDO Grandmaster Cheater Supreme
Reputation: 0
Joined: 02 Nov 2007 Posts: 1371
|
Posted: Sat Aug 29, 2009 8:25 am Post subject: .NET Is there a way to spy on other programs? |
|
|
Ok so like is there a way to make a bot that checks whenever a active program is requesting an input?
_________________
Intel over amd yes. |
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sat Aug 29, 2009 11:05 am Post subject: |
|
|
| what do you mean 'requesting an input' ?
|
|
| Back to top |
|
 |
&Vage Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Sat Aug 29, 2009 11:35 am Post subject: |
|
|
| I guess just create a hook in their message callback, and you can modify or read stack data from there. But that would require you being in that process's memory space, so I don't think it'll be possible with C# or any other .NET languages. I'm assuming that you mean, they're checking for messages.
|
|
| Back to top |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Sat Aug 29, 2009 11:57 am Post subject: |
|
|
| void:] wrote: | | I guess just create a hook in their message callback, and you can modify or read stack data from there. But that would require you being in that process's memory space, so I don't think it'll be possible with C# or any other .NET languages. I'm assuming that you mean, they're checking for messages. |
or of course you could take the easier, smarter option of SetWindowsHookEx()
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sat Aug 29, 2009 3:46 pm Post subject: Re: .NET Is there a way to spy on other programs? |
|
|
| KaninKnull wrote: | | Ok so like is there a way to make a bot that checks whenever a active program is requesting an input? |
you most definitely want SetWindowsHookEx()
http://msdn.microsoft.com/en-us/library/ms644990%28VS.85%29.aspx
e: fffffuck didn't bother to check other replies, i lose.
|
|
| Back to top |
|
 |
|