Browse Source

Generate a real token

master
mid-kid 4 weeks ago
parent
commit
8ff7edf429
  1. 6
      prism/genaccounts.py

6
prism/genaccounts.py

@ -4,11 +4,13 @@
import binascii import binascii
import hashlib import hashlib
import json 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() 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 = { accounts = {
"formatVersion": 3, "formatVersion": 3,

Loading…
Cancel
Save