diff --git a/prism/genaccounts.py b/prism/genaccounts.py index 6ca6219..63494c5 100755 --- a/prism/genaccounts.py +++ b/prism/genaccounts.py @@ -4,11 +4,13 @@ import binascii import hashlib import json +import secrets +import sys -user = "mid-kid" +user = sys.argv[1] uuid = binascii.hexlify(bytes(eval("x"+{6:"&0xf|0x30",8:"&0x3f|0x80"}.get(i,""))for i,x in enumerate(hashlib.md5(("OfflinePlayer:%s"%user).encode()).digest()))).decode() -token = "penispenis123" +token = secrets.token_urlsafe(32) accounts = { "formatVersion": 3,