Japanese English

PHP 難読化コードの復元・デコード

Wordpress 等でのPHPのマルウェア・ウィルス・改ざんコードをデコードして難読化をオンラインで解除し、
元の読みやすいコードに戻し解読できます。

※すべての難読化コードを解除できるわけではございませんのでご理解とご了承をお願いいたします。

下記のコードを難読化解除しました

<?php function cryptoJsAesEncrypt($p0,$g12){$j3=openssl_random_pseudo_bytes(8);$n13='';$d14='';while(strlen($n13)<48){$d14=md5($d14.$p0.$j3,true);$n13.=$d14;}$u10=substr($n13,0,32);$e5=substr($n13,32,16);$x15=openssl_encrypt(json_encode($g12),'aes-256-cbc',$u10,true,$e5);$v11=array("ct"=>ba...



難読化されたPHPコード

<?php 
function cryptoJsAesEncrypt($p0,$g12){$j3=openssl_random_pseudo_bytes(8);$n13='';$d14='';while(strlen($n13)<48){$d14=md5($d14.$p0.$j3,true);$n13.=$d14;}$u10=substr($n13,0,32);$e5=substr($n13,32,16);$x15=openssl_encrypt(json_encode($g12),'aes-256-cbc',$u10,true,$e5);$v11=array("ct"=>base64_encode($x15),"iv"=>bin2hex($e5),"s"=>bin2hex($j3));return json_encode($v11);}?>

デコード(難読化解除)されたコード

<?php

function cryptoJsAesEncrypt($p0, $g12)
{
    $j3 = openssl_random_pseudo_bytes(8);
    $n13 = '';
    $d14 = '';
    while (strlen($n13) < 48) {
        $d14 = md5($d14 . $p0 . $j3, true);
        $n13 .= $d14;
    }
    $u10 = substr($n13, 0, 32);
    $e5 = substr($n13, 32, 16);
    $x15 = openssl_encrypt(json_encode($g12), 'aes-256-cbc', $u10, true, $e5);
    $v11 = array("ct" => base64_encode($x15), "iv" => bin2hex($e5), "s" => bin2hex($j3));
    return json_encode($v11);
}


■【無料】ワードプレス:マルウェアスキャン&セキュリティープラグイン [マルウェア・ウィルス検出と駆除]

■WordPress のマルウェア駆除、セキュリティー対策 カスタマイズや修正、引っ越し・復旧のご依頼承ります

(C)2019 ワードプレス ドクター All rights reserved.