doz59484 2014-07-24 03:38
浏览 128
已采纳

在PHP中是否有针对bcompiler的反编译器?

Hi am new to bcompiler and my purpose is to encrypt the PHP code in production site, for security. So my doubt is, whether decryption is possible if some one takes the encrypted code of bcompiler? Also is this a better method to encrypt a PHP code or any other solution? Suggestions please.

Thanks

  • 写回答

2条回答 默认 最新

  • dqtl46964 2014-07-24 03:52
    关注

    bcompiler encodes your source into bytecode. It does not encrypt your code.

    It does increase the performance of your code, as PHP processes raw source into bytecode before execution anyway.

    No one will be able to decode the bytecode back to your code.

    See the answers to this question which provide links to other tools which may be an extension to bcompiler.

    Also, as this answer suggests:

    It is just as safe as compiling C++ to ASM. It CAN be reverse engineered or understood by careful reading and logic, ...

    I tried the "bcompiler decoder", linked to in this answer. When bcompiling a class, then decompiling it with the "bcompiler decoder", a set of human readable instructions are created. It did not reproduce a class with the same behavior as the source/bcompile'd version (which would've been pretty impressive).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?