Falldog / pyconcrete

Protect your python script, encrypt it as .pye and decrypt when import it
Apache License 2.0
694 stars 149 forks source link

marshal.loads #48

Closed jonntd closed 5 years ago

jonntd commented 5 years ago
    code = marshal.loads(data[magic:])
    m = self.new_module(fullname, self.full_path, self.pkg_path)
    sys.modules[fullname] = m
    exec(code, m.__dict__)

这个存成pyc还是能反编译吧

Falldog commented 5 years ago

Yes. There is always a way to decrypt .pye files, but pyconcrete just make it harder.