summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-02-12 19:51:12 -0300
committerJesusaves <cpntb1@ymail.com>2024-02-12 19:51:12 -0300
commit4d1dd5f3152cb5240c2ce0a1ebcac5e767356c8c (patch)
tree1cdca6f9f966a765c8fbe4fa07a7de08ce60197e
parentc3a8d67e1fab546635d074c51fe12de6aa302bbe (diff)
downloadtkinter-4d1dd5f3152cb5240c2ce0a1ebcac5e767356c8c.tar.gz
tkinter-4d1dd5f3152cb5240c2ce0a1ebcac5e767356c8c.tar.bz2
tkinter-4d1dd5f3152cb5240c2ce0a1ebcac5e767356c8c.tar.xz
tkinter-4d1dd5f3152cb5240c2ce0a1ebcac5e767356c8c.zip
Rewrite the obfuscation logic (ANNOYING)HEADmaster
-rwxr-xr-x__main__.py2
1 files changed, 1 insertions, 1 deletions
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)