Yeah, it is really easy actually.
https://sourceforge.net/projects/easypythondecompiler/ is just one of many 
examples.

Even saw an article a few weeks ago about someone rescuing some source code 
by grabbing it from the in-memory code objects.

On Monday, March 27, 2017 at 8:52:31 AM UTC-5, Rudi Hammad wrote:
>
> Thanks.
> Is it really that easy to disassembled back to py? I thought it would be 
> possible but tricky.
> I´ll try cyton for now, see how it goes.
>
> cheers
>
> El lunes, 27 de marzo de 2017, 1:04:00 (UTC+1), Alok Gandhi escribió:
>>
>> some of them, they tend to zip up the source and wrap it into an 
>>> executable that handles extracting and running it in a reproducible way. 
>>> But I was never under the impression that it was a reliable way to hide it. 
>>
>> That is true. I agree that ultimately compiling is the only reliable way 
>> and cython can do it. Other than that, the tools I listed above are able to 
>> obfuscate the code but only to a certain extent, not completely. Also here 
>> are some obfuscation tricks that you can follow to make it hard for 
>> somebody to understand your code when using one of the tools that I listed:
>> 1. Remove all comments and documentation from your code.
>> 2.  Use name mangling.
>>
>> cython will leave no bytecode at all and is MOST reliable.
>>
>> In the end, obfuscation is hard when it comes to python. 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/a9f1a9af-76c7-4462-874a-3847d25f0922%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to