3 ms·
just so that it is clear for everyone, including newbies here, does the insta-load code snippet work like this: the author has encoded the wat module's source
by fuzztester 2y ago
just so that it is clear for everyone, including newbies here, does the insta-load code snippet work like this:
the author has encoded the wat module's source code into base64. the snippet shown decodes that back into python code, and then executes it on the fly, thus having the same effect as importing the wat module in the normal python way?
- igrek51 2y agoYes, that has the same effect as installing the package. So if you feel uncomfortable, you can either install the pip package (and of course review the installed code) or review the decoded string before executing it. It's not that obfuscated anyways, it's still quite readable.
- fuzztester 2y agogot it, thanks.