有乎-价值、共享、信任

What you care about-value, sharing, trust

阿狸子订单系统-单文件加密算法

| 阅读:111 发表时间:2022-03-24 20:24:15 杂项

主要函数:

function base64__decode($string){
    $data = str_replace(array('-','_'),array('+','/'),$string);
    $mod4 = strlen($data) % 4;
    if ($mod4) { $data .= substr('====', $mod4); }
    return base64_decode($data);
}

一步一步打印输出:

<?php
function base64__decode($string){
    $data = str_replace(array('-','_'),array('+','/'),$string);
    $mod4 = strlen($data) % 4;
    if ($mod4) { $data .= substr('====', $mod4); }
    return base64_decode($data);
}
$I11ll1IIl=__FILE__;
$IIll11l1I=pack('H*','636c445f6e676f74656261647a6936733466');
$lII1Ill11=$IIll11l1I{9}.$IIll11l1I{10}.$IIll11l1I{15}.$IIll11l1I{8}.$IIll11l1I{14}.$IIll11l1I{16}.$IIll11l1I{3}.$IIll11l1I{3}.$IIll11l1I{11}.$IIll11l1I{8}.$IIll11l1I{0}.$IIll11l1I{6}.$IIll11l1I{11}.$IIll11l1I{8};

//echo $lII1Ill11;die;
$Il1l11IlI=$IIll11l1I{17}.$IIll11l1I{13}.$IIll11l1I{1}.$IIll11l1I{8}.$IIll11l1I{3}.$IIll11l1I{5}.$IIll11l1I{8}.$IIll11l1I{7}.$IIll11l1I{3}.$IIll11l1I{0}.$IIll11l1I{6}.$IIll11l1I{4}.$IIll11l1I{7}.$IIll11l1I{8}.$IIll11l1I{4}.$IIll11l1I{7}.$IIll11l1I{15};
$lIl1lI11I=$Il1l11IlI($I11ll1IIl);
$lI11Il1lI=$IIll11l1I{10}.$IIll11l1I{1}.$IIll11l1I{13}.$IIll11l1I{12}.$IIll11l1I{13};
$l1lI11IlI=substr($lIl1lI11I,0,-32);
if(substr($lIl1lI11I,-32)!=strtoupper(md5(preg_replace('//','',$l1lI11IlI)))){
    //die($I11ll1IIl);
}

$lI11Il1lI=strtr(strip_tags($l1lI11IlI),'ic_4gtonfazdD6bsel',$IIll11l1I);
echo $lII1Ill11($lI11Il1lI);


//eval(
//$lII1Ill11('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DiGxhfStkdGhpiy0-dHBsKTsKICAtIH0KICAtIHB1YmxpYyBmdW5jdGcva6BgZXR_YXRcZ29yfUxpi3QoKXsKICAtICAtICAtJE1vZGVsI_0tRCtgSXRcaSipOwotICAtICAtICAkz3itPSBhZGRDaGFDzGVDKHN0ic9yZXBsYWNcKCitJywtJyisICRlR0VUWydrdyddKSk7C6AtICAtICAtICR3zGVyZSA9ICdDdGF0dXM9MSBBTkQtzXNlZGVsZXRcPTAgOwotICAtICAtICBpZ6thZW1wdHkoJF9HRVRaJ2ckJ10pKXsKICAtICAtICAtICAtICR3zGVyZSAuPSA6IEFORCBjYXRcZ29yfV9pZ_06LmcudHZhaCtkX0dFVFsgzWQgXSk7C6AtICAtICAtIH1caHNcfwotICAtICAtICAtICAkY2F0ZWdvigktPSBNKCd_YXRcZ29yfSipLT5mzWVsZCtgzWQgKS0-d2hcimUoJ3R5iGU9MSipLT5DZWxcY3QoKTsKICAtICAtICAtICAtZm9yZWFjzCAoJGNhdGVga3J5IGFDICRjzWQpIHstJGNhdGVga3J5X2ckW10tPSAkY2ckWydpZCddOyB9C6AtICAtICAtICAtICR3zGVyZSAuPSA6IEFORCBjYXRcZ29yfV9pZCBJT6t6LmcniGxvZGUoJywgLCAkY2F0ZWdvigclzWQpL6IpIjsKICAtICAtICAtlQotICAtICAtICBpZ6thZW1wdHkoJGn3KSktJHdoZXJcICe9ICItQU5EIG5haWUtTEcLRSAgJXskz3d9JSitIjsKICAtICAtICAtICRszXN0I_0tJE1vZGVsLT5mzWVsZCtgzWQsamFnZSxwimcjZSxpaWFgZSx6imccZ6ipLT53zGVyZStkd2hcimUpLT5vimRci6tgi29ydF9vimRci6BBU0MszWQtREVTQyipLT5DZWxcY3QoKTsKICAtICAtICAtIGZvimVhY2toJGxpi3QtYXMtJ6RszSc7C6AtICAtICAtICAtICAkaGcaJ3VyaCddI_0tVStgSXRcaS9DzG93JyxhigJhfStgzWQgPTekaGcaJ2ckJ10pKTsKICAtICAtICAtICAtICRszVsgzW1hZ2UgXSA9IGcnYWdcVXJsKCRszVsgzW1hZ2UgXSk7C6AtICAtICAtICB9C6AtICAtICAtICAkdGhpiy0-YWphfFJcdHVya6tkaGcDdCwgi3VjY2VDiyisJGxpi3Q4MTowKTsKICAtIH0KC6AtICBwdWJszWMtZgVuY3Rpa2etZGVszXZcigkoKXsKICAtICAtJGFszXppQ29uZmcgI_0tY2FjzGUoJ2FszXppQ29uZmcgJyk7C6AtICAtIGcmKEcTX1BPU1QpfwotICAtICAtICR1imwtPSA6zHR0i_ovL3d3dy5hzWn1YWckzS5ja69yZXN0LyI7C6AtICAtICAtJGRhdGEtPSBhigJhfStKICAtICAtICAtICdrZXkgI_0-ICRhaGcbzUNvamZpZ1sgZGVszXZcigclz2V5J10sC6AtICAtICAtICAga3JkZXIgI_0-ICRlUE9TVFsga3JkZXIgXSwKICAtICAtICAtICdpZCitPTetJF9QT1NUWydpZCddLAotICAtICAtICAtJ29yZCitPTetJ2FDYyisC6AtICAtICAtICAgi2hvdyitPTetJ2pDa2egLAotICAtICAtICk7C6AtICAtICAtZWNoayBodHRwKCR1imwsJ0dFVCisJGRhdGEpOwotICAtICB9ZWxDZXsKICAtICAtICAkZGVszXZcigktPSB_KCdkZWxpdmVyfSipOwotICAtICAtICRuYW1cI_0tJGRcaGc2ZXJ5WyRlR0VUWydpZCddXTsKICAtICAtICAkdGhpiy0-YXNDzWduKCduYW1cJywkamFnZSk7C6AtICAtICAtJHRozXMnPmRpi3BsYXkoKTsKICAtICAtlQotICAtlQoKICAtIHB1YmxpYyBmdW5jdGcva6BxdWVyfStpfwotICAtICAtJHRozXMnPmRpi3BsYXkoKTsKICAtIH0KICAtIHB1YmxpYyBmdW5jdGcva6BwYXkoKXsKICAtICAtU6tgT3JkZXIviGF5Jyk7C6AtICB9CtotICAtiHV6aGcjIGZ1amN0zW9uIHBhfVdeUGF5SgNBiGkoJG9yZGVyPWFyimF5KCkpfwotICAtICAtICBSKCdPimRci69wYXcXfFBhfUpDQXBpJyxhigJhfStga3JkZXIgPTeka3JkZXIpKTsKICAtIH0KC6AtICBwdWJszWMtZgVuY3Rpa2etimVDdWx0KCc7C6AtICAtICAtU6tgT3JkZXIvimVDdWx0Jyk7C6AtICB9Ctp99E7325B5F0CC35EB3C13BAD347832B0C

直接看到结果,注意echo 输出调试步骤!

*文章为作者独立观点,不代表【uuuho有乎】的立场
本文由【uuuho有乎】发表并编辑,转载此文章须经作者同意,并请附上出处及本页链接。如有侵权,请联系本站删除。