forked from Neotoxic-off/medkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFullprofile.py
31 lines (28 loc) · 819 Bytes
/
Fullprofile.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
from Crypto.Cipher import AES
import json
import requests
import base64
import zlib
def decode():
f = open("save.txt", 'r')
bin = f.read()[8:]
cipher = AES.new(b"5BCC2D6A95D4DF04A005504E59A9B36E", AES.MODE_ECB)
profile = base64.b64decode(bin)
print(profile)
profile = cipher.decrypt(profile)
profile = "".join([chr(c + 1) for c in profile]).replace("\u0001", "")
profile = base64.b64decode(profile[8:])
profile = profile[4:len(profile)]
profile = zlib.decompress(profile).decode("utf16")
profile = json.loads(profile)
print(profile)
with open("profile.json", "w+") as file:
json.dump(profile, file)
def main():
arguments()
print("\n-> Injecting...\n")
decode()
print("\n-> Injection finished")
input("\n[ ENTER ]")
return (0)
main()