GithubHelp home page GithubHelp logo

amyth / nsk Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 0.0 4 KB

NSK is a simple and easy to use key logger written in python. NSK is available to use under MIT License.

Home Page: https://www.techstricks.com

Python 100.00%
python keylogger pyobjc

nsk's Introduction

Simple Python Key Logger

NSK is a simple and easy to use key logger written in python. NSK is available to use under MIT License.

Dependencies

NSK (Simple python key logger) uses the following python libraries / pip packages.

How to use

1: clone the repository first.

git clone https://github.com/amyth/nsk
cd nsk

2: create a virtual environment

Make sure you have virtualenv and virtualenvwrapper installed. Then create a new virtual environment and install the dependencies.

mkvirtualenv nsk
pip install -r requirements/pip.txt

3: start the key logger Once you have all the dependencies installed, you can simply start the key logger using the following command.

python nskl.py

If you'd like to hide the output on the terminal, you can use Screen (terminal multiplexer) and run the keylogger on a screen and detach from the screen. The key logger will still print all system wide input.

4: The Logs In addition to the terminal output nsk also saves the copy to the logs that can be found at the following location:

/var/log/nskl/

Sample Output

Following is the sample output produced by the keylogger

<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4208.2 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="h" unmodchars="h" repeat=0 keyCode=4>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4208.3 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="e" unmodchars="e" repeat=0 keyCode=14>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4208.4 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="l" unmodchars="l" repeat=0 keyCode=37>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4208.6 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="l" unmodchars="l" repeat=0 keyCode=37>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4208.7 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="o" unmodchars="o" repeat=0 keyCode=31>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4209.2 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars=" " unmodchars=" " repeat=0 keyCode=49>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4209.3 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="w" unmodchars="w" repeat=0 keyCode=13>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4209.4 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="o" unmodchars="o" repeat=0 keyCode=31>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4209.7 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="r" unmodchars="r" repeat=0 keyCode=15>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4209.9 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="l" unmodchars="l" repeat=0 keyCode=37>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4210.1 flags=0x100 win=0x0 winNum=0 ctxt=0x0 chars="d" unmodchars="d" repeat=0 keyCode=2>
<native-selector keyCode of NSEvent: type=KeyDown loc=(282.23,181.375) time=4210.6 flags=0x20104 win=0x0 winNum=0 ctxt=0x0 chars="!" unmodchars="!" repeat=0 keyCode=18>

Author(s)

nsk's People

Contributors

amyth avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  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.