From 643c6c40c18d797ce504d520b932f5fdc6346944 Mon Sep 17 00:00:00 2001 From: Opabinia <144001335+pentestfunctions@users.noreply.github.com> Date: Fri, 19 Jan 2024 21:29:39 +1300 Subject: [PATCH] Update BlueDucky.py --- BlueDucky.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/BlueDucky.py b/BlueDucky.py index 1fc78ec..a362ec9 100644 --- a/BlueDucky.py +++ b/BlueDucky.py @@ -235,11 +235,14 @@ class L2CAPClient: if args: log.debug(f"Attempting to send... {args}") self.send(self.encode_keyboard_input(*args)) + time.sleep(delay) + # Send an empty report to release the key + self.send(self.encode_keyboard_input()) + time.sleep(delay) else: # If no arguments, send an empty report to release keys self.send(self.encode_keyboard_input()) time.sleep(delay) - # Update current_position here after successful send return True # Indicate successful send def send_keyboard_combination(self, modifier, key, delay=0.004):