1.0.6 • Published 4 years ago

osx-keylogger v1.0.6

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

POC Keylogger for Mac OS X 10.5+

Introduction

By using native bindings to IOKit we can talk directly with the keyboard. Unfortunately this means we have to provide our own key layouts but since we can talk directly with the hardware this should work regardless of which state the rest of the system is in.

Usage example

{{example.js}} This example uses the swedish.json file as the key layout and will write the users input to stdout.

makeKeylayout.js

By running the command

node makeKeylayout.js yourlanguage.json

And then using the console you are running it in to read what keys are pressed you can create your own language key layout. In this case it would create yourlanguage.json

Installation

via npm

npm install osx-keylogger

Tests

Sorry, I didn't feel like it. It's a POC

Why?

I couldn't find a decent opensource keylogger for a modern version of OS X and I was looking for an excuse to try out native bindings.

License

MIT, see LICENSE file

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

7 years ago

1.0.0

7 years ago