469,631 Members | 978 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,631 developers. It's quick & easy.

I'm in real need for info about spywares??

Hello everyone,

Can someone please explain to me how spywares work? I would like to know
how to capture all key strokes in any active application, also, getting the
contents of chat programs like Yahoo Messenger?

And before anyone is going to start flaming me, it is totally for my own
personal information and not for any evil purpose.
Thanks in advance.
Nov 21 '05 #1
6 902
"wael" <Da*********@hotmail.com> schrieb:
I would like to know how to capture all key strokes in
any active application


You'll need a keyboard hook to capture these keystrokes system-wide:

Article on keyboard hooks:

<URL:http://www.developer.com/net/net/article.php/11087_2193301_1/>

Documentation on hooks:

<URL:http://msdn.microsoft.com/library/en-us/dnwui/html/msdn_hooks32.asp>
<URL:http://msdn.microsoft.com/library/en...wsuserinterfac
e/windowing/hooks.asp>

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #2
Thanks for the reply.

Using keyboard hook will only log one side in case a user was chatting
online which is the machine where is the hook is installed, so, how do I get
both sides of the conversion, the local and remot???

Many spyware does that already, I am wondering how do they do it?!!
I appreciate the help.
Nov 21 '05 #3
"Will" <Da*********@hotmail.com> schrieb:
Using keyboard hook will only log one side in case a
user was chatting online which is the machine where is
the hook is installed, so, how do I get both sides of
the conversion, the local and remot???


If the control is a textbox (or based on a textbox or richtextbox), you can
use 'SendMessage' + 'WM_GETTEXT' to get the text. If this is not possible,
you may need sort of OCR software to analyze a screenshot of the control.

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #4
thanks again for the fast reply.

Do you know if any sample code or tutorial that exists to demonstrat that
concept?
Thanks again.
Nov 21 '05 #5
"Will" <Da*********@hotmail.com> schrieb:
Do you know if any sample code or tutorial that exists to
demonstrat that concept?


Just Google for some of the terms in my previous post, you should find tons
of information... Please understand that I don't provide code for someone
who uses "DaHacker" in his email address...

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #6
Thanks a lot for the help.

About the alias in my email address, it is complete coincident. : 0)

Thanks again.
Nov 21 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by engsolnorm | last post: by
7 posts views Thread by Fred Exley | last post: by
1 post views Thread by Chris | last post: by
9 posts views Thread by Justin Rich | last post: by
reply views Thread by Kurt Mueller | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.