C Board  

Go Back   C Board > General Programming Boards > C Programming

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 06-10-2005, 11:39 PM   #1
Registered User
 
Join Date: Jun 2005
Posts: 3
Catching All Keyboard Input

Can anyone explain what would be involved in writing a program that catches all input from the keyboard? So, if you're using windows even if your program was not the currently selected window you would be able to see what keys were pressed.

Thanks; and if i'm not being clear please let me know and i'll try to elaborate/re-word.

Last edited by nigma; 06-10-2005 at 11:58 PM.
nigma is offline  
Old 06-11-2005, 12:36 AM   #2
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
Like the world needs yet another kiddie wannabe with their own keylogger program....
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline  
Old 06-11-2005, 12:46 AM   #3
Registered User
 
Join Date: Jun 2005
Posts: 3
Why assume i'm a "script kiddie" who wants to write a keylogger and not someone who's interested in actually knowing what the difference is between getting input normally and getting all input regardless of what window is selected? And what's wrong with wanting to write a keylogger if you learn about what's happening behind the scenes?

From your post stats you seem to be pretty active member of this community and if this is how you respond to someone who makes a simple inquiry on a topic someone here should know about I can only imagine how some of the newer members of this community act.

And I can tell you with absolute certainty if you were to post over at phpdn where I moderate you would not recieve such a response.
nigma is offline  
Old 06-11-2005, 12:46 AM   #4
#include<xErath.h>
 
xErath's Avatar
 
Join Date: Jun 2004
Posts: 724
Quote:
Originally Posted by nigma
Can anyone explain what would be involved in writing a program that catches all input from the keyboard?
hum.. a compiler, an IDE, good knowledge of win APi, knowledge of C, and above all ethics...
xErath is offline  
Old 06-11-2005, 12:48 AM   #5
Registered User
 
Join Date: Jun 2005
Posts: 3
There's no way to write a program to do this without having to make windows API calls?
nigma is offline  
Old 06-11-2005, 01:39 AM   #6
and the hat of vanishing
 
Salem's Avatar
 
Join Date: Aug 2001
Location: The edge of the known universe
Posts: 21,214
> There's no way to write a program to do this without having to make windows API calls?
No there isn't.

> Why assume i'm a "script kiddie" who wants to write a keylogger
Balance of probability - new poster, wrong forum for your question (there's no C in your question), vague "how do I...." without having any real clue as to what's involved.
And every other similar question like this has in fact turned out to be some lamer wanting to write a keylogger.

> From your post stats you seem to be pretty active member of this community
Well for those who actually want to learn the languages, and who actually post an honest attempt at trying, then I'm exceedingly helpful.
__________________
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Up to 8Mb PlusNet broadband from only £5.99 a month!
Salem is offline  
Old 06-11-2005, 02:35 AM   #7
It's full of stars
 
adrianxw's Avatar
 
Join Date: Aug 2001
Posts: 4,833
I would have to agree with Salem, and the members reporting the post as another keylogger lamer.

You do present all the classic signs we have seen so many times. Presumably if I logged onto your board as a first time poster and asked for advice on how to over flow a buffer and do an IE exploit, I'd be welcome would I?

In the C forum, we help with C problems.

Closed.
__________________
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
adrianxw is offline  
Closed Thread

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with keyboard input fighter92 Game Programming 6 03-20-2009 09:41 AM
Checking array for string Ayreon C Programming 87 03-09-2009 03:25 PM
Using low-level keyboard for input hdragon C++ Programming 25 12-24-2007 02:13 PM
Need help with keyboard input wiramu C++ Programming 2 11-28-2003 02:44 PM
Catching bad input Asmodan C++ Programming 3 05-28-2002 06:24 PM


All times are GMT -6. The time now is 04:14 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22