php 如何解码ionCube加密文件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12795078/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 04:14:22  来源:igfitidea点击:

How to Decode ionCube encrypted files?

phpencryptionioncube

提问by sandip

I am customizing geodesic classified, my client has not given me access to a licence file (rather I have not asked him about this).

我正在自定义测地线分类,我的客户没有给我访问许可文件的权限(我没有问过他这个问题)。

I am able to customize it from the admin panel, but I want to customize it on my local system.

我可以从管理面板自定义它,但我想在我的本地系统上自定义它。

But when I tried to do this it get redirected to site off page.

但是当我尝试这样做时,它会被重定向到页面外的站点。

I think it is because of the product.phpfile code (I have same code as this one):

我认为这是因为product.php文件代码(我的代码与此相同):

What does this PHP do? Is it an encoder/decoder?

这个 PHP 有什么作用?它是编码器/解码器吗?

回答by Leigh

ionCube (at least when it was PHP Accelerator) compiled PHP to bytecode prior to encoding.

ionCube(至少当它是 PHP Accelerator 时)在编码之前将 PHP 编译为字节码。

This eliminates the source code entirely, and even if you were able to reverse the encoding process, you would still be left with compiled opcodes, not source.

这完全消除了源代码,即使您能够反转编码过程,您仍然会得到已编译的操作码,而不是源代码。

The ionCube loader decodes the bytecode, which then does not need to be parsed, and is executed directly by the PHP virtual machine.

ionCube loader 对字节码进行解码,然后不需要解析,直接由 PHP 虚拟机执行。

If I recall correctly, the encoder also performs optimisations and obfuscations on the bytecode, that help prevent decompilation.

如果我没记错的话,编码器还会对字节码进行优化和混淆,这有助于防止反编译。