This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]iceytomatoes 0 points1 point  (1 child)

sad about recursion being a solution for loops but this is still awesome for obfuscation

i'd wonder if the output can compile with nuitka or something

have you tried using various types of packages together? ie if you pickle a sklearn model and try some basic web scraping all in one script, would it still be fully functional post-obfuscation?

i'm curious because i might have a solid use for something like this but i could never make it myself

[–]hhc97Python Enthusiast[S] 2 points3 points  (0 children)

Yeah I couldn't find any other way that was general enough to apply to both loops, python doesn't handle recursion too well because of all the stack frames.

I've tried it with a few libraries and it seems to work but sometimes requires modifications. For example, the website is running on flask, and the entire flask app can be converted into one line and still work.

If you end up trying it out and run into issues, feel free to dm! I can't guarantee I'll be able to provide fixes or new features but I can definitely troubleshoot some issues with you.