Obfuscation: A deep dive.
Alright. Don’t tell me you haven’t seen a code that is completely encrypted. Don't know what I mean? I mean something like this:
https://pastebin.com/CS9Cvic1 # Passcode: eKvgnh9TjSGo ahead and run that. You will literally get a real printed statement! All that does is:
print('It works, doesn't it? Back to the article.')Now. How exactly does obfuscation work? Well, the concept is simple. Add a bunch of decoy variables, rename functions and working variables, make the previous calling of those variables obsolete, and so on.
Get Corbin Chandler’s stories in your inbox
Join Medium for free to get updates from this writer.
For example:
_0x1=print;print=None;That is what I mean by renaming and making variables obsolete. Basically, that process continues for hundreds of lines. I would recommend you replace def() with lambda.
Try using APIs like pastebin with a passcode lock to protect certain strings that may not be able to be encrypted properly.
Go ahead and create some obfuscated python code and experiment! Submit it to my email when your done to have a chance at a free yearly pro plan on my blog!
Blog: https://corbin.codes/
Email: [Corbin C](mailto:corbinchandler777@icloud.com)








