Skip to main content

Simple keylogger for Linux + X11

Project description

# kl

Simple keylogger for Linux + X11.

## Requirements

- python 2 or 3
- xlib

## Usage

Without custom callback (prints to STDOUT):

```python
import kl

kl.run()
```

With custom callback, logging to disk:

```python
import json
import kl

def log(keys):
with open('/tmp/kl.log', 'a') as f:
print(json.dumps(keys), file=f)

kl.run(cb=log)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kl-1.0.1.tar.gz (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page