Created
February 8, 2024 20:54
-
-
Save jakiki6/5937754927c39dd24c876b590167f803 to your computer and use it in GitHub Desktop.
Script to compute the unlock token for the app "Stop Motion Studio" (go to settings->activate)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
from Crypto.Cipher import AES | |
iv = base64.b64decode(b"AAECAwQFBgcICQoLDA0ODw==") | |
key = base64.b64decode(b"O34VFiiu0qar9xWICc9PPA==") | |
aes = AES.new(key, AES.MODE_CBC, iv) | |
token = base64.b64encode(aes.encrypt(input("App id: ").encode() + b"cateater..")).decode()[:5].upper() | |
token += str(sum(token.encode()) % 10) | |
print(token) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment