From d0e7b8c4236cef88bfb90ad3b436a7eb947ba0aa Mon Sep 17 00:00:00 2001 From: JoshuaMKW <60854312+JoshuaMKW@users.noreply.github.com> Date: Sun, 23 Aug 2020 23:12:18 -0500 Subject: [PATCH] Removed debug print --- kernel.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel.py b/kernel.py index 7429582..c0fce67 100644 --- a/kernel.py +++ b/kernel.py @@ -245,13 +245,11 @@ class CodeHandler: def encrypt_data(self, key: int): self.geckoCodes.codeList.seek(0) - print(f'real key: {key:X}') i = 0 while True: try: packet = tools.read_uint32(self.geckoCodes.codeList) self.geckoCodes.codeList.seek(-4, 1) - #print(hex(self.geckoCodes.codeList.tell()), hex(packet), hex((packet^key) & 0xFFFFFFFF), hex(key)) tools.write_uint32(self.geckoCodes.codeList, (packet^key) & 0xFFFFFFFF) key += (i ^ key) & 0xFFFFFFFF if key > 0xFFFFFFFF: