这个 PHP 是如何编码的?
有谁知道这个PHP代码是如何编码的吗?我不知道是Zend、ionCube还是其他。
<?php
if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) {
function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) {
$TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E);
$T7FC56270E7A70FA81A5935B72EACBE29 = 0;
$T9D5ED678FE57BCCA610140957AFAB571 = 0;
$T0D61F8370CAD1D412F80B84D143E1257 = 0;
$TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]);
$T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3;
$T800618943025315F869E4E1F09471012 = 0;
$TDFCF28D0734569A6A693BC8194DE62BF = 16;
$TC1D9F50F86825A1A2302EC2449C17196 = "";
$TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E);
?>
Does anybody know how this PHP code is encoded? I don't know whether it's Zend, ionCube or something else.
<?php
if (!function_exists("T7FC56270E7A70FA81A5935B72EACBE29")) {
function T7FC56270E7A70FA81A5935B72EACBE29($TF186217753C37B9B9F958D906208506E) {
$TF186217753C37B9B9F958D906208506E = base64_decode($TF186217753C37B9B9F958D906208506E);
$T7FC56270E7A70FA81A5935B72EACBE29 = 0;
$T9D5ED678FE57BCCA610140957AFAB571 = 0;
$T0D61F8370CAD1D412F80B84D143E1257 = 0;
$TF623E75AF30E62BBD73D6DF5B50BB7B5 = (ord($TF186217753C37B9B9F958D906208506E[1]) << 8) + ord($TF186217753C37B9B9F958D906208506E[2]);
$T3A3EA00CFC35332CEDF6E5E9A32E94DA = 3;
$T800618943025315F869E4E1F09471012 = 0;
$TDFCF28D0734569A6A693BC8194DE62BF = 16;
$TC1D9F50F86825A1A2302EC2449C17196 = "";
$TDD7536794B63BF90ECCFD37F9B147D7F = strlen($TF186217753C37B9B9F958D906208506E);
?>
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这只是混淆的代码。我猜测它是由 http://www.truebug.com/ 生成的,根据 此缓存的 Google 页面,但它可能来自任何类似产品。
It's just obfuscated code. I'm guessing that it was generated by http://www.truebug.com/, judging by this cached Google page, but it could be from any similar product.
它是自动生成的代码,而且非常丑陋。我不认为它是经过编码的 - 我只是认为生成器只是将大量 GUID 放入代码中以用作函数名称。
It's automatically generated code, and it's damn ugly. I don't think it's encoded - I just think the generator just threw a load of GUIDs into the code to use as function names.
我的猜测是这段代码使用了
混淆
。混淆代码就是将其源代码转换为几乎不可读的模拟。它的功能完全相同,但变量和函数名称的更改方式使其很难阅读。
这是用于可反汇编代码(如 .NET 或任何解释性语言,如 PHP、Ruby、Perl)的常见做法,以将其作为知识产权进行保护。
检查此问题以了解详细信息:Is there a code obfuscator for PHP?
My guess is that this code uses
Obfuscation
.To obfuscate a code is to transform its source to a virtually unreadable analog. It's exactly the same functionality, but variable and function names are changed in a way which would make it very hard to read.
It's a usual practice used for code which can be disassembled (like .NET or any interpreted language like PHP, Ruby, Perl), to protect it as an intellectual property.
Check this question for details: Is there a code obfuscator for PHP?