Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How does DropBox protect its python code? [closed]

I know that DropBox uses a lot of python code in its application, so i'm wondering how it protects the code from being stolen because it seems pretty difficult to obfuscate python code (protecting python code).

I've read about software that converts python code to executables (i.e. pyinstaller). Does DropBox use software like that to protect their code?

like image 875
bab Avatar asked Mar 23 '13 00:03

bab


People also ask

How is Python used in Dropbox?

Dropbox has put the effort into building a powerful API that allows you to utilise Dropbox in your own applications, and it's ideal for Python automations. Using the Dropbox Python SDK, you can upload, download, share, and delete files from your Python script.

Is Dropbox written in Python?

Dropbox. This cloud based storage system uses Python in its desktop client.


1 Answers

I've just tried to decompile it, but all decompilers failed, because they don't know the magic number used in dropbox pycs. So I've googled and found this: http://itooktheredpill.dyndns.org/2012/dropbox-decrypt/ (archive.org link)

It says they have modified interpreter to encrypt modules and forbid access to code-objects. Plus they scramble opcodes.

like image 188
Sergey Zyuzin Avatar answered Oct 02 '22 16:10

Sergey Zyuzin