Obfuscate Python Code For Code Privacy
HTML-код
- Опубликовано: 2 авг 2024
- Today we learn how to obfuscate Python code to increase the code privacy.
Oxyry: pyob.oxyry.com/
◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚
🐍 The Python Bible Book: www.neuralnine.com/books/
💻 The Algorithm Bible Book: www.neuralnine.com/books/
👕 Programming Merch: www.neuralnine.com/shop
💼 Services 💼
💻 Freelancing & Tutoring: www.neuralnine.com/services
🌐 Social Media & Contact 🌐
📱 Website: www.neuralnine.com/
📷 Instagram: / neuralnine
🐦 Twitter: / neuralnine
🤵 LinkedIn: / neuralnine
📁 GitHub: github.com/NeuralNine
🎙 Discord: / discord Наука
I think I would prefer pyarmor as shown in a previous video as the obfuscation happens on my machine rather than pasting code onto a website which could be grabbing your code for analysis.
Any noobs/hobbyists who have variables such as passwords, API keys etc in their code, which they shouldn't have, but which does happen, is leaving themselves open to this data being given freely to a third party.
I ended up here because I thought the word was pronounced obscufiate. I don't know where I heard that pronunciation before, but now I'm learning how to muddle code I'm never going to write. What a time to be alive.
Is it "deobfuscate" or "unofouscate"? I bet if I type that into youtube, I'll end up learning even more about how little I know.
Thanks man, I always wanted to know what obfisticated meant even since I heard Notch Obfisticated Minecraft. I did not know you could obfisticate Python!
Obfuscate*
Great Thank u!
Do you have any information of how to do that in react native?
Does it have a reverse enginner protection? Do you know any way to make a python code hardly encriptated and still be able to run normally?
pyarmor is what you're looking for, it still can be decrypted eventually and people can do a few other tricks to know what your script does and network sniffing etc.. but it's the best you got if you don't wanna spend a few days encrypting it manually (which will most likely raise AV suspicions)
i like this video and you
thanks
It is interesting and I'm commenting to feed the algorithm, but i don't really have a use case for this since i (currently) don't need to share code with people who i wouldn't trust with the un-obfusicated code.
my question is this. will my python code still do the same thing?
i converted the result obfuscated code to exe and it did not work
What happens if you obfuscate obfuscated code.
I would have to check the site, I want to figure out the logic behind this type of obfuscation
It looks like a fairly simple replacement of local/global namespaces. Which just makes following a particular namespace more difficult but not impossible, and you won't have the context given from the normal name to guess what the namespace is for.
i prefer building my own obfuscation logic 1nd implement on my scripts
I think you need to make a video on that it will be 1 an interesting subject.
thanks, how can we obfuscate django app or flask app? is it possible or not?
Why would you want to obfuscate server sided code???? The client wont ever see it anyways...
why i cant copy the code
What about PyArmor? I used it a lot in the past
actually he posted a video about it 1 year ago just check it 😆
so it's you been talking. But I respect you bro
Can gpt rewrite og code?
yes
Thx_.
Easy. Just convert it to Perl.
I wonder where get all these nonsensical wacky names... this is getting worse than quantum physics nomenclature.
Pop OS, my man?
Can't obsfucate long codes
Or you can just compile your python code to an executable with Nuitka
Decompilable
@@AliveOP wrong
how@@lolikpof
Useless, Since Even Basic PyObfuscator Will Just Return The Original Script Instantly. They All Use Basic Cryptography, Base-64 Or Similar. You Need OTP, A Second File For Encoding And Decoding, Your Script, A New Cipher That Only You Know & Can Share. Then You Can Be Sure The Code Is Not Scraped Online Or Instantly Returned In Plain Text. This Is Simple Logic, Not Even My Decades Of Experience. Do Not Use Online Obfuscation, It Is Literally A Trap! Even JS Obfuscation Can Be Cracked With Enough Effort, But Harder Than Python Standalone.
Cant I just insert it into ChatGPT and it gives me the clear code?
yes it does actually. the prompt is 'what does this code do? rewrite any strange function names with clear english ones' and it returns the queen code
bro made a video to showcase a silly website 💀
Why isn't the title "how to waste your time to waste other people's time"?
That's what I thought the title of this video was. Is it not? Maybe I'm just illiterate like the creator of this video.
Obfuscating scripts are used in cyber security.
IT IS NOT A WASTE OF TIME.
If you don't know how to apply some technique or technology or concepts in realworld projects or use cases that doesn't mean it's a waste of time
@@nnkbrain obfuscation is like installing a zip tie instead of a deadbolt. it'll stop anyone without even the most basic tools. If someone lacks the most basic tools they likely won't understand the underlying code either
Kind of pointless. If you have code that needs to be hidden don't use Python.