Giter Club home page Giter Club logo

projectnm's Introduction

Keylogger

This is a simple keylogger implemented in Python using the pynput library. It captures keyboard events and logs them to a text file (key_log.txt) and a JSON file (key_log.json).

Features:

  • Records pressed, held, and released keys.
  • Saves key logs in both text and JSON formats.
  • Provides a graphical user interface (GUI) built with Tkinter for starting and stopping the keylogger.

Requirements:

  • Python 3.x
  • pynput library (pip install pynput)

Usage:

  1. Run the script (keylogger.py).
  2. Click the "Start" button to begin keylogging.
  3. Press keys on your keyboard.
  4. Click the "Stop" button to stop keylogging.

Files:

  • keylogger.py: The main Python script containing the keylogger implementation.
  • key_log.txt: Text file containing logged key events.
  • key_log.json: JSON file containing logged key events in JSON format.

How It Works:

  • The on_press function is called whenever a key is pressed.
  • The on_release function is called whenever a key is released.
  • Key events are stored in a list keys_used and periodically saved to text and JSON files.
  • The keylogger can be started and stopped using the GUI buttons.

Note:

  • This keylogger is for educational purposes only. Do not use it for malicious purposes.
  • Be cautious when running the keylogger, as it can log sensitive information.

projectnm's People

Contributors

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