Coder Social home page Coder Social logo

luisenmarroquin / python-keylogger Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 36 KB

Simple cross platform keylogger created with Python 3 and keyboard dependency

License: MIT License

Python 90.72% Shell 9.28%
python python3 keyboard keylogger windows pylint pip pip3 shell py pythonw logger keylog logging keylogging pylintrc pyinstaller logs portable simple

python-keylogger's Introduction

Python keylogger

The simplest keylogger you can create using Python 3 only keyboard dependency

This app was created for learning and security purposes only, feel free to use it

Note: Everytime you start the app will delete logs file everytime it runs and only one instance is allowed to run at once (this works by trying to delete the file but wont be able to because it'll used by the other instance)

Setup and execution

All keystrokes will be saved on file ./keystrokes.log

# Get the code from GitHub
git clone https://github.com/LuisEnMarroquin/python-keylogger.git

# Go to the project directory
cd python-keylogger/

# Install dependencies
pip install -r requirements.txt

# Run as foreground process
python keylogger.py

# Run as background process (Windows only)
pythonw keylogger.py

# Run as background process (Linux / macOS)
python keylogger.py &

Stop app from logging

You can stop the background process at any time by clicking f7 on any place, this is the easy way

The hard way is to search the process in your Task Manager and kill the process manually

Linter for Python code

If you have sh installed you can lint all .py files at once by running

sh linter.sh

Create portable executable

If the following fails you may need to update all your global dependencies

This will generate the executable on dist/ folder

pyinstaller --noconsole --onefile keylogger.py

python-keylogger's People

Contributors

luisenmarroquin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

python-keylogger's Issues

General Question

I noticed it says change the URL now does that mean it can be any URL or a specific one?

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.