3 ms·
> However, that requires accessing the "func_code" member, which is explicitly blocked. But you've already shown that you can build the string "func_code" usin
by bobbyi_settv 12y ago
> However, that requires accessing the "func_code" member, which is explicitly blocked.
But you've already shown that you can build the string "func_code" using your xor code. So you can access the member using getattr/ setattr:
getattr(func, str_containing_func_code)
setattr(func, str_containing_func_code, new_code)