// #Encoder
$s = $this->php_implode($php_array);
$t1 = $this->table;
do {
$p1 = rand(1, 127);
$p2 = rand(128, 255);
$t2 = substr($t1, $p1, $p2).substr($t1, 0, $p1).substr($t1, $p1+$p2);
$es = strtr($s, $t1, $t2);
} while (!$this->safe_stream($es));
$enc['enc_data'] = $es;
$enc['p1'] = $p1;
$enc['p2'] = $p2;
// #Decoder
<?php {MORPH_VARS}
ob_start();
?>{ENC_DATA}<?php
function decode_run(&$s) {
$t1 = $GLOBALS['V001'];
declare(ticks=0);
$t2 = substr($t1, {P1}, {P2}).substr($t1, 0, {P1}).substr($t1, {P1}+{P2});
return eval(strtr($s, $t2, $t1));
}
$s = ob_get_contents();
ob_end_clean();
return decode_run($s);
?>
|