in reply to Keystoke Logger
First, you have to create a "System Wide Hook". This is done by creating a DLL. You can't do that in Perl. A "Hook" is basically a low level operation where you create a callback to an API function. In your case, you'd have to hook the Keyboard API. You can probably use Win32::API to create the app that loads the DLL, but not the DLL itself.
Pick your poision.. VB or C++ for the DLL. There's info on VB here. There's something in C++ here but it involves more than just the keyboard.
I could be wrong, but I'm pretty sure there's no pure Perl way to do it.
If you're interested in some more advanced stuff, there's also Detours Which will inject code into an apps memory space, replacing functions in the app.
Rich
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Keystoke Logger
by Dog and Pony (Priest) on Feb 21, 2002 at 09:36 UTC |