Code Monkey home page Code Monkey logo

xkeylogger's Introduction

xkeylogger

Rootless keylogger for X.

Features

  • No root access required.

  • Keep track of the focused window and print its name too.

  • Translate raw keystrokes according to the current keyboard layout.

  • Allow to generate a statically linked executable.

  • Also log some useful non-printable keystrokes (backspace, tab, etc.).

  • Use the modifiers to write the proper glyph.

Dependencies

apt-get install libxi-dev

Build

To build a dynamically linked executable:

make

To build a statically linked executable:

make static

Usage

Dump keystrokes to a file (exit by killing the process):

xkeylogger > key.log

Sample output

[+] 06/09/2012 @ 16:44:17 : urxvt
cd /tm⇥⏎
ls⏎
mkdit⌫r test⏎

[+] 06/09/2012 @ 16:44:56 : cyrus-and/xkeylogger - Google Chrome
foo⏎

[+] 06/09/2012 @ 16:45:06 : Search · foo - Google Chrome
⌫⌫⌫bar←⌫⌦az⏎

[+] 06/09/2012 @ 16:45:28 : Search · baz - Google Chrome
⌫⌫⌫
[+] 06/09/2012 @ 16:45:33 : Google - Google Chrome
xkeylogger⏎

xkeylogger's People

Contributors

cyrus-and avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

xkeylogger's Issues

How to create a count of keystrokes

Sorry my C skills are a bit rusty. But what I was after is an output which didn't contain the keystrokes necessarily for privacy reasons, but a running total.

The idea is that I want to measure how long a particular task takes in the amount of actions required. Key strokes in this case would be the action. Ideally mouse operations could be included too.

Otherwise best keylogger I've seen. :P

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.