An open API service indexing awesome lists of open source software.

https://github.com/cyrus-and/xkeylogger

Rootless keylogger for X
https://github.com/cyrus-and/xkeylogger

keylogger linux rootless xorg

Last synced: about 1 year ago
JSON representation

Rootless keylogger for X

Awesome Lists containing this project

README

          

# 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⏎
```