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
  • НаукаНаука

Комментарии • 42

  • @XxLuvverofMusicxX
    @XxLuvverofMusicxX 3 месяца назад +2

    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.

  • @theob1712
    @theob1712 6 месяцев назад

    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.

    • @theob1712
      @theob1712 6 месяцев назад

      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.

  • @75STARFISH
    @75STARFISH 8 месяцев назад +3

    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!

    • @Omena0MC
      @Omena0MC 5 месяцев назад

      Obfuscate*

  • @Fhivo
    @Fhivo 8 месяцев назад

    Great Thank u!

  • @mister.ayooub
    @mister.ayooub 8 месяцев назад

    Do you have any information of how to do that in react native?

  • @morningbae
    @morningbae 8 месяцев назад +4

    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?

    • @Slangs
      @Slangs 8 месяцев назад +2

      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)

  • @kingfunny4821
    @kingfunny4821 8 месяцев назад

    i like this video and you
    thanks

  • @redeux
    @redeux 8 месяцев назад

    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.

  • @user-ne7pq9mk8e
    @user-ne7pq9mk8e 5 месяцев назад

    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

  • @TheRetroEngine
    @TheRetroEngine 8 месяцев назад +1

    What happens if you obfuscate obfuscated code.

  • @Sinke_100
    @Sinke_100 8 месяцев назад

    I would have to check the site, I want to figure out the logic behind this type of obfuscation

    • @redeux
      @redeux 8 месяцев назад +1

      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.

  • @bechirzouaoui5821
    @bechirzouaoui5821 2 месяца назад

    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.

  • @mohamadrezamohamadi8393
    @mohamadrezamohamadi8393 8 месяцев назад

    thanks, how can we obfuscate django app or flask app? is it possible or not?

    • @Omena0MC
      @Omena0MC 5 месяцев назад +1

      Why would you want to obfuscate server sided code???? The client wont ever see it anyways...

  • @gzhuk
    @gzhuk 7 месяцев назад

    why i cant copy the code

  • @FrancescoCaputo666
    @FrancescoCaputo666 8 месяцев назад +1

    What about PyArmor? I used it a lot in the past

    • @aimkone
      @aimkone 8 месяцев назад +1

      actually he posted a video about it 1 year ago just check it 😆

  • @user-ne7pq9mk8e
    @user-ne7pq9mk8e 5 месяцев назад

    so it's you been talking. But I respect you bro

  • @LiquidMasti
    @LiquidMasti 8 месяцев назад

    Can gpt rewrite og code?

  • @philtoa334
    @philtoa334 8 месяцев назад

    Thx_.

  • @wilsonfreitas8418
    @wilsonfreitas8418 8 месяцев назад +1

    Easy. Just convert it to Perl.

  • @YuTv1408
    @YuTv1408 8 месяцев назад +7

    I wonder where get all these nonsensical wacky names... this is getting worse than quantum physics nomenclature.

  • @lowfreqdrone
    @lowfreqdrone 3 месяца назад

    Pop OS, my man?

  • @UtilisateurGoogle-nb1er
    @UtilisateurGoogle-nb1er 4 месяца назад

    Can't obsfucate long codes

  • @lolikpof
    @lolikpof 8 месяцев назад +4

    Or you can just compile your python code to an executable with Nuitka

    • @AliveOP
      @AliveOP 8 месяцев назад

      Decompilable

    • @lolikpof
      @lolikpof 8 месяцев назад

      @@AliveOP wrong

    • @QWERTY-gp8fd
      @QWERTY-gp8fd 8 месяцев назад

      how@@lolikpof

  • @jeoi
    @jeoi 4 месяца назад +2

    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.

  • @eliaspfeffer
    @eliaspfeffer 8 месяцев назад

    Cant I just insert it into ChatGPT and it gives me the clear code?

    • @flethacker
      @flethacker 8 месяцев назад

      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

  • @oguzhantopaloglu9442
    @oguzhantopaloglu9442 8 месяцев назад

    bro made a video to showcase a silly website 💀

  • @zenn_desu
    @zenn_desu 8 месяцев назад +4

    Why isn't the title "how to waste your time to waste other people's time"?

    • @thereaper489
      @thereaper489 8 месяцев назад

      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.

    • @nnkbrain
      @nnkbrain 4 месяца назад

      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

    • @zenn_desu
      @zenn_desu 4 месяца назад

      @@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

  • @Kelticfury
    @Kelticfury 8 месяцев назад

    Kind of pointless. If you have code that needs to be hidden don't use Python.