Tamas Marki wrote:
> On 2/8/08, Aswin Rajamannar <[EMAIL PROTECTED]> wrote:
>> Hi. I'm asking this question with no bad intentions. In a book named
>>  "Digital Fortress" by Dan Brown (Hope you've heard about it), a man will
>>  steal a password of a lady through a program which will store the last
>>  pressed keys on the keyboard.... Is this possible? Can that be achieved
>>  using programming languages like C/C++? I repeat again, i have no bad
>>  intentions.
> 
> Yes, but only using platform-specific calls (with standard C++ you can't).

Hmm...if you were running as 'root' on a Linux system, aren't all 
devices available to programs as "files"?  I'm not all that familiar 
with Linux internals but assuming low-level keyboard access is possible, 
you could, in theory, build a keylogger in ANSI C/C++.

http://en.wikipedia.org/wiki/Keystroke_logging

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to