From 4d1dd5f3152cb5240c2ce0a1ebcac5e767356c8c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Mon, 12 Feb 2024 19:51:12 -0300 Subject: Rewrite the obfuscation logic (ANNOYING) --- __main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__main__.py b/__main__.py index bd116bf..005319f 100755 --- a/__main__.py +++ b/__main__.py @@ -16,7 +16,7 @@ from tkinter.messagebox import showinfo, showerror, askyesno from functools import partial OBFS = uuid.getnode() % 256 # Get a number which *usually* doesn't change -OBFS = 185 # <- For debugging (FIXME ^ above didn't held up in practice) +OBFS = (len(os.getcwd()) + 131) % 256 # <- FIXME above didn't held up in practice # TODO: Maybe we can do len() for the absolute path to this script # Then % 256 it so we always have a valid unchanging obfuscation? >_> # TODO: Make a .ico for this, and pyinstaller -i? (--onefile) -- cgit v1.2.3-60-g2f50