keylogger

Cross platform keylogger

I'm looking for ways to watch mouse and keyboard events on Windows, Linux and Mac from Python. My application is a time tracker. I'm not looking into the event, I just record the time when it happens. If there are no events for a certain time, say 10 minutes, I assume that the user has left and stop the current project. When the user r...

Detect key press combination in Linux with Python?

I'm trying to capture key presses so that when a given combination is pressed I trigger an event. I've searched around for tips on how to get started and the simplest code snippet I can find is in Python - I grabbed the code below for it from here. However, when I run this from a terminal and hit some keys, after the "Press a key..." st...

Need a free Programmer's Keylogger

Whats a general purpose key logger that I can use to detect keys for debugging and testing purposes? Preferably, I can hit a record button and a stop button and it will display a text file with all keys pressed during that time. Obviously, it doesn't have to be a super stealthy logger which secretly emails a anonymous account every wee...

How can you read keystrokes when the python program isn't in the foreground?

I'm trying to analyze my keystrokes over the next month and would like to throw together a simple program to do so. I don't want to exactly log the commands but simply generate general statistics on my key presses. I am the most comfortable coding this in python, but am open to other suggestions. Is this possible, and if so what python...

Global hardware OnKeyPress

I have in C# this function , for key press. When you press a key will be executed function a() protected virtual void OnKeyPress(object sender, KeyPressEventArgs e) { a(); } I need a method which to execute a function globally, in outside of my application , in outside of .NET Framework , anywhere in Windows. Advanced th...

how to write keylogger by C#?

I want to write program to learn vocabulary. Simply each time, when I copy a word to clipboard, It will save them to text file. so, there are requirements, I think that is: My program run in background like keylogger? Detect even and save words to text file everytime I copy a word to clipboard.? all done by C#. so, plz give me some ...

While Loop Taking Alot of CPU Usage

I am creating a keystroke logger for my personal interest, as well wanting to know how to capture and use them as functions (like key shortcuts). I got the code to learn how keylogger and GetAsyncKeyState() work: http://www.rohitab.com/discuss/index.php?showtopic=9931 I got it to run under Code::Blocks, but the weirdest things is that ...

Capturing Keystrokes in GNU/Linux in C

If I am working in an application and I press key from keyboard, how can I capture that key (or string), including the source application's name, in C, under GNU/LINUX, in userland, without X11 :) Thanks. ...

How could I transform some keypresses into other keypresses?

I have a great idea about cheating on exams. My school uses very old IDE's ( think Turbo Pascal, Turbo C++ , and other 80's ones ), and the thing I'd like to do is this : start my program in the background intercept the keypresses, and instead of sending them directly to the screen, I'd like to read a character from a pre-configured te...

BlackBerry - KeyListener with global scope

Hello all, I am new to BlackBerry App development. I want to be able to listen for keypress events whenever the BlackBerry (8900 in my case) is on and on all screens is this possible? If so, it would be great for someone to direct me in the right direction. I am already having a look at Interface KeyListener. import net.rim.device.ap...

Is it possible to have a C# Winform with in-built Anti-Keylogger?

Every security systems have its limits. I understand that hardware key logger cannot be beaten as it is connected to the hardware itself. Also it is not a concern at this point as most of the time it is used by programmers and ethical hackers to log themselves, on top of which most of the time cautious users will be able to visually iden...

Python/Linux - A function callback every time a key is pressed (regardless of which window has focus)?

I want to write a programme (in python) on Linux (Ubuntu Linux 9.10) that will keep track of how many key presses per second/minute I make. This includes normal letter keys, and control/shift/space/etc. Is there some way to hook into X so that I can say "when a key is pressed call this function?". Since I want to have this running in th...

How do you record keystrokes when operating on another window in Java?

I'm looking to record keystrokes and mouse positions while I'm in a browser window on various websites, but I'm not sure how to do this outside the SWING (or some other GUI) window. How can I record keystrokes when a different application's window is the one active? ...

app in background read keys pressed by user

Hey ;) i want to do a application which works in background and read all keys pressed by user and save it in file. i start to write it in Win forms and use keys Pressed event but it works when form is focused:/ It is another way to do it? i hear about Windows Service, but i never use it :/ ...

Key logging in .NET

Is it possible to write a key logger in Visual Basic.NET? Is this the right language to be using? So far, I've gotten a console app to read input and append to a file. 1)How can I make a .NET program "catch" all keyboard input? 2)How do I make a process not show up in Task Manager? This is not for a virus, but rather a parental contr...

example code for Xorg/X11 record extension fails

I'm compiling a basic example (as much as using bare X could be simple...) using the X11's RECORD extension on the latest version of Ubuntu, and I'm getting the following error: RECORD extension for local server is version is 1.13 X Error of failed request: XRecordBadContext Major opcode of failed request: 135 (RECORD) Minor opcod...

make `SetWindowsHookEx` call functions in my thread context

In order to use SetWindowsHookEx in a GUI application, you usually want in the bottom line to have a function in your thread called whenever an event has occurred. So for instance if I'm making a software to show all keys being pressed on the system, I want that somehow my GUI app will have the function AddKeyToList(int vkeycode) called...

Creating a Key Command in Python

I'm writing my own simple key logger based on a script I found online. However, I'm trying to write a key command so that the logger program will close when this command is typed. How should I go about this? (Also I know it's not secure at all, however that's not a concern with this program) For example Ctrl + 'exit' would close the pro...

Capture all keyboard events using VB.Net

Hi All, I've written an app with a simple textbox which attempts to identify a user from their typing habits (interval between key presses, duration key is held, time between key strokes ie a->s is quicker than a->v for some users, shorter for others depending on typing style). It's far from perfect but it does correctly identify modera...

Global Hook Keylogger problem

It logs the keys to textbox currently so its safe. PROBLEM The problem is when i run this at virtual machine, or my friends laptop, it hangs after pressing certain amount of keys(random).It runs perfectly fine in mine. http://i34.tinypic.com/29o1im8.jpg class GlobalKeyboardHook { #region Definition of Structures, Constants and D...