12

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?

Community
  • 1
  • 1
bab
  • 2,119
  • 3
  • 28
  • 49
  • 6
    Dropbox is a webservice, so there's no need to obfuscate or protect the code. You can't access the code to begin with. – Blender Mar 23 '13 at 00:25
  • 14
    Their client application is written in python – Sergey Zyuzin Mar 23 '13 at 05:36
  • 7
    This question is not off-topic: source code protection is a frequent topic in professional programming and falls well under [software tools commonly used by programmers](http://stackoverflow.com/faq#questions). – user4815162342 Apr 07 '13 at 20:15
  • 3
    The question should be reopened. Software protections is an important topic which all developers and reversers should know alike. – Extreme Coders Jul 03 '14 at 09:14

1 Answers1

10

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.

xgMz
  • 3,334
  • 2
  • 30
  • 23
Sergey Zyuzin
  • 3,754
  • 1
  • 24
  • 17