Git Product home page Git Product logo

key_logger's Introduction

Keylogger

This project provides an educational example of a keylogger developed using the Python programming language. The keylogger is designed as a simple demonstration for learning purposes. It records keyboard inputs and sends them via email at regular intervals. Please note that this code should only be used responsibly and for educational purposes.

Table of Contents

Introduction

This keylogger demonstrates how a basic keylogger can be implemented using the pynput library in Python. It captures keyboard input and saves it to a log. The logged data is then sent via email using the smtplib library.

Features

  • Captures keyboard inputs and records them in a log.
  • Periodically sends the collected log via email.
  • Minimal and educational codebase.

Usage

  1. Clone the repository to your local machine.
  2. Make sure you have Python installed.
  3. Install the required libraries using the following command:
    pip install pynput
  4. Open the keylogger.py file in a text editor.
  5. Important: Modify the send_email function parameters to use your own email and password. Replace the following line with your information:
send_email("[email protected]","your_password",log.encode('utf-8'))

Note: Remember to change "email_server = smtplib.SMTP("smtp-mail.outlook.com", 587)" to use another mail service.

  1. Run the script by executing the following command:
python3 key_logger.py

The keylogger will start capturing keyboard inputs and periodically send logs to the provided email.

Note: Use this code responsibly and only on your own devices or with explicit permission. Unauthorized use of keyloggers is against the law and unethical.

Requirements

  • Python 3.x
  • pynput library

Install the required library using the following command:

pip install pynput

Disclaimer

This keylogger example is intended for educational and learning purposes only. It should not be used for any malicious or unauthorized activities.

key_logger's People

Contributors

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