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 $ex_type = $ex_radiru_gogaku; ht_subtitle($subno,""); switch ($subno) { case "0601": ht_play_abort_server("聴取"); break; case "069901": $val0 = ht_set_val($val); $wdat = $val0[0]; if ($sel == 1) { ht_rec_start("rec",$val0,$ex_type); } else if ($sel == 2) { ht_live_radiru_vod($wdat,$ex_type);...



Obfuscated php code

<?php
 $ex_type = $ex_radiru_gogaku; ht_subtitle($subno,""); switch ($subno) { case "0601": ht_play_abort_server("聴取"); break; case "069901": $val0 = ht_set_val($val); $wdat = $val0[0]; if ($sel == 1) { ht_rec_start("rec",$val0,$ex_type); } else if ($sel == 2) { ht_live_radiru_vod($wdat,$ex_type); } else if ($sel == 3) { ht_live_server($wdat,$ex_type); } break; case "069902": ht_play_abort_server("聴取"); break; case "0699": ht_play_abort_server("聴取"); break; case "0603": ht_play_abort_server("聴取"); break; default: ht_development($subno,$val,2); break; }

Decoded(de-Obfuscated) php code

<?php

$ex_type = $ex_radiru_gogaku;
ht_subtitle($subno, "");
switch ($subno) {
    case "0601":
        ht_play_abort_server("聴取");
        break;
    case "069901":
        $val0 = ht_set_val($val);
        $wdat = $val0[0];
        if ($sel == 1) {
            ht_rec_start("rec", $val0, $ex_type);
        } else {
            if ($sel == 2) {
                ht_live_radiru_vod($wdat, $ex_type);
            } else {
                if ($sel == 3) {
                    ht_live_server($wdat, $ex_type);
                }
            }
        }
        break;
    case "069902":
        ht_play_abort_server("聴取");
        break;
    case "0699":
        ht_play_abort_server("聴取");
        break;
    case "0603":
        ht_play_abort_server("聴取");
        break;
    default:
        ht_development($subno, $val, 2);
        break;
}


Malware detection & removal plugin for WordPress

(C)2020 Wordpress Doctor All rights reserved.