From f2adf3894da8a18c1f26b7699133a46f96bceaff Mon Sep 17 00:00:00 2001 From: Ori <45724082+therealOri@users.noreply.github.com> Date: Tue, 22 Aug 2023 10:22:04 -0600 Subject: [PATCH 1/2] Update specter.py Bigger/larger files require more numbers to be generated as there are more lines of code, etc. Otherwise Specter will engage itself into an infinite loop of generating numbers. (Using my "Genter" code for the testing) --- specter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specter.py b/specter.py index 4c8aad6..cb28c26 100644 --- a/specter.py +++ b/specter.py @@ -73,9 +73,9 @@ def encrypt(text: str, key: int) -> str: return "\x00".join(str(ord(x)+key) for x in text) def randvar() -> str: - var = randint(1000, 9999) + var = randint(1000, 99999) while var in Specter.vars: - var = randint(1000, 9999) + var = randint(1000, 99999) Specter.vars.append(var) return f"__{var}__" From efd0cc9d6d227980f204a9cdfcb54faed046380a Mon Sep 17 00:00:00 2001 From: Ori <45724082+therealOri@users.noreply.github.com> Date: Tue, 22 Aug 2023 14:54:16 -0600 Subject: [PATCH 2/2] fixed typo in anti_skid() int('skid') --> print('skid') --- specter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specter.py b/specter.py index cb28c26..4cad0d5 100644 --- a/specter.py +++ b/specter.py @@ -103,7 +103,7 @@ def anti_skid(script: str) -> str: "Specter" not in globals() or "Func" not in globals() ): - int('skid') + print('skid') except: input("You just executed a file obfuscated with Specter!\n\nAuthor: billythegoat356\nGitHub: https://github.com/billythegoat356/Specter\nDiscord: https://discord.gg/plague") __import__('sys').exit()