Scrap/Random Hacks/Multihack Patch.txt
Richard Wright 5f35433c9b Scrap codes
2015-03-01 17:03:11 +00:00

13 lines
No EOL
334 B
Text

import os
import imp
import marshal
from dis import *
script_path = "C:/Program Files/Disney/Disney Online/ToontownOnline/_ssl.pyc"
script_to_run = open(script_path, 'rb')
pycData = script_to_run.read()
magic = pycData[:4]
assertmagic = imp.get_magic()
mtime = pycData
codeBytes = pycData[8:]
code = marshal.loads(codeBytes)
exec code