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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page