Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,205,632 members, 7,993,151 topics. Date: Monday, 04 November 2024 at 07:57 AM |
Nairaland Forum / Science/Technology / Programming / Python Code Obfuscation[help] (1559 Views)
Check Out My Python Code For Giving You The Date/time You Are Currently. / Python Code For Birthday Reminder / Please Help With This Python Code (2) (3) (4)
Python Code Obfuscation[help] by blink6(m): 9:05pm On Oct 04, 2014 |
hi guys!, please, am on a project which happens to be python one. now, I want to obfuscate it in other to hide my code from reverse engineering. is there any app or method to do this? thanks. 1 Like |
Re: Python Code Obfuscation[help] by Seun(m): 9:46pm On Oct 04, 2014 |
You can distribute just the .pyc files that are created when you run your code. They are not exactly obfuscated but most people can't read them. |
Re: Python Code Obfuscation[help] by Seun(m): 9:46pm On Oct 04, 2014 |
-- |
Re: Python Code Obfuscation[help] by blink6(m): 4:40am On Oct 05, 2014 |
Seun:first of, an glad u of all persons here replied me. seems yuh a python lover. nevertheless, is there any other method aside the one you gave? thanks. |
Re: Python Code Obfuscation[help] by umaryusuf(m): 7:05am On Oct 05, 2014 |
Maybe this article will help: http://jbremer.org/python-source-obfuscation-using-asts/ |
Re: Python Code Obfuscation[help] by donphoenix: 12:58am On Oct 12, 2014 |
are you trying to secure the final exe or the .py file? If its d exe. Den a simple crypter will suffice. It works by takin d binary code, splicin it nd encryptin it wt an algorithm lyk rc4 or aes den attachin a decryption stub wt it dat decrypts d code in memory only at runtime usin d decryption key u provided. If d exe is decompiled or haxored, the person will only get junk unreadable/unusable code. |
Re: Python Code Obfuscation[help] by blink6(m): 12:48pm On Oct 14, 2014 |
donphoenix:the .py file content. |
Re: Python Code Obfuscation[help] by donphoenix: 1:32pm On Oct 14, 2014 |
blink6:same method will still work but you'll b using a base64 cipher stream. It wont give you the function of using an encryption key but your will be obfuscated enough |
(1) (Reply)
The Kind Of Naija Bank Account Used To Receive Pays From Google Play Store / How Does One Go From A Copy And Paste Programmer To Writing Your Own Code / Urgent Help: Wordpress Users Should Get In Here Your Attention Is Needed
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 11 |