diff --git a/duckyinpython.py b/duckyinpython.py index 7b51baa..1173248 100644 --- a/duckyinpython.py +++ b/duckyinpython.py @@ -32,7 +32,7 @@ duckyCommands = { 'INSERT': Keycode.INSERT, 'NUMLOCK': Keycode.KEYPAD_NUMLOCK, 'PAGEUP': Keycode.PAGE_UP, 'PAGEDOWN': Keycode.PAGE_DOWN, 'PRINTSCREEN': Keycode.PRINT_SCREEN, 'ENTER': Keycode.ENTER, 'SCROLLLOCK': Keycode.SCROLL_LOCK, 'SPACE': Keycode.SPACE, 'TAB': Keycode.TAB, - 'BAKCKSPACE': Keycode.BACKSPACE, 'DELETE': Keycode.DELETE, + 'BACKSPACE': Keycode.BACKSPACE, 'DELETE': Keycode.DELETE, 'A': Keycode.A, 'B': Keycode.B, 'C': Keycode.C, 'D': Keycode.D, 'E': Keycode.E, 'F': Keycode.F, 'G': Keycode.G, 'H': Keycode.H, 'I': Keycode.I, 'J': Keycode.J, 'K': Keycode.K, 'L': Keycode.L, 'M': Keycode.M, 'N': Keycode.N, 'O': Keycode.O, @@ -114,7 +114,7 @@ defaultDelay = 0 def runScript(file): global defaultDelay - + duckyScriptPath = file f = open(duckyScriptPath,"r",encoding='utf-8') previousLine = ""