Giter Site home page Giter Site logo

keylogger's Introduction

Keylogger

Log your keystrokes and generate heatmaps of your typing patterns.

Installation

git clone [email protected]/mielpeeters/keylogger
cd keylogger
cargo build --release
sudo ./target/release/keylogger init

The init subcommand will move the required assets to XDG_DATA_HOME/keylogger such that the command can be used from within any directory.

Note: this is the data directory of the superuser.

Usage

First, find out which event file in /dev/input/ is your keyboard. You can use the tool evtest to find the event file number (eventX).

sudo keylogger log -e X

This will start the logging, with default output path (./assets/keylog.bin). Run with -h to see more options.

You can output as a csv with the export subcommand.

To generate the heatmap svg, run:

sudo keylogger heatmap -o heatmap.svg

This will generate a heatmap image at heatmap.svg.

Features

The bell feature is something I implemented for myself, and won't work generally.

Changelog

  • 0.3.1 -> 0.4.0: added compression to the logfile + compress subcommand to compress old versions for backward compatibility.
  • 0.3.0 -> 0.3.1: added words subcommand to show the top 100 most used words in your keylog data file.
  • 0.2.0 -> 0.3.0: added analyze subcommand to show when you used your computer. Also changed internal time format to SystemTime, and added convert subcommand to transform your keylog data file to the new format for backward compatibility.
  • 0.1.0 -> 0.2.0: added AES256-GCM password-protected encryption. Also added encrypt subcommand to encrypt 0.1.0 keylog files to ensure compatibility with 0.2.0.

Roadmap

  • add different keyboard layouts support

keylogger's People

Contributors

mielpeeters avatar

Watchers

 avatar

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.