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 /* */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$O..

Decoded Output download

echo '<!-- index.php -->
<html>
<meta name=\'og:title\' content=\'Startseite  Admin\'>
<meta name="description" content="Startseite | DLSystem">
<meta name="keywords" content="DLSystem">
<meta name="author" content="PvPMaster0001">
<meta name=\'copyright\' content=\'DLSystem\'>

';
session_start();
require '../db_connection.php';
if (!isset($_SESSION['user_id'])) {
header("Location: ".($phpenable === 'true'?$siteurl .$admin_directory .$login_url .'.php': $siteurl .$admin_directory .$login_url));
exit;
}
$sql = "SELECT * FROM benutzer WHERE id = ".$_SESSION['user_id'] ." AND admin = 1";
$result = $conn->query($sql);
$user = $result->fetch_assoc();
if (!$user) {
header("Location: ".($phpenable === 'true'?$siteurl .$login_url .'.php': $siteurl .$login_url));
exit;
}
$sql = "SELECT * FROM benutzer WHERE id = ".$_SESSION['user_id'];
$result = $conn->query($sql);
$user = $result->fetch_assoc();
if ($user['gesperrt'] == 1) {
session_destroy();
header("Location: ".($phpenable === 'true'?$siteurl .$login_url .'.php': $siteurl .$login_url));
exit;
}
include '../settings/config.php';
include '../settings/head_admin.php';
include '../settings/header_admin.php';
$countUsersSql = "SELECT COUNT(*) as userCount FROM benutzer";
$countResult = $conn->query($countUsersSql);
$countData = $countResult->fetch_assoc();
$userCount = $countData['userCount'];
$countRegCodeSql = "SELECT COUNT(*) as userRegCodeCount FROM registration_codes";
$countRegCodeResult = $conn->query($countRegCodeSql);
$countRegCodeData = $countRegCodeResult->fetch_assoc();
$userRegCodeCount = $countRegCodeData['userRegCodeCount'];
$countTicketSql = "SELECT COUNT(*) as userTicketCount FROM tickets WHERE status IN ('offen', 'bearbeitung')";
$countTicketResult = $conn->query($countTicketSql);
$countTicketData = $countTicketResult->fetch_assoc();
$userTicketCount = $countTicketData['userTicketCount'];
;echo '<title>bersicht &mdash; Admin</title>

<body>
    <section class="pt-5 bg-section-secondary">
        <div class=container>
            <div class="row justify-content-center">
                <div class=col-lg-9>
                    <div class="row align-items-center">
                        <div class=col>
                            <span class=surtitle>Admin</span>
                            <h1 class="h2 mb-0">bersicht</h1>
                        </div>
                    </div>
                    <div class="row align-items-center mt-4">
                        <div class=col>
                            <ul class="nav nav-tabs overflow-x">
                                <li class=nav-item>
                                    <a href="';echo  $siteurl ;echo '';echo  $admin_directory ;echo '"
                                        class="nav-link active">bersicht</a>
                                </li>
                                <li class=nav-item>
                                    <a href=" ';echo  ($phpenable === 'true'?$users_url_admin .'.php': $users_url_admin) ;echo '"
                                        class="
                                        nav-link">Benutzer</a>
                                </li>
                                <li class=nav-item>
                                    <a href=" ';echo  ($phpenable === 'true'?$settings_url_admin .'.php': $settings_url_admin) ;echo '"
                                        class=" nav-link">Einstellungen</a>
                                </li>
                                <li class=nav-item>
                                    <a href=" ';echo  ($phpenable === 'true'?$codes_url_admin .'.php': $codes_url_admin) ;echo '"
                                        class="nav-link">Codes</a>
                                </li>
                                <li class=nav-item>
                                    <a href=" ';echo  ($phpenable === 'true'?$tickets_url_admin .'.php': $tickets_url_admin) ;echo '"
                                        class="nav-link">Tickets</a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <div class="slice slice-sm bg-section-secondary">
        <div class="container">
            <center>
                <h3>bersicht</h3>
            </center>
            <center>
                <p>Benutzer:
                    ';echo $userCount;;echo '                </p>
            </center>
            <center>
                <p>Registrierungscodes:
                    ';echo $userRegCodeCount;;echo '                </p>
            </center>
            <center>
                <p>Tickets:
                    ';
if ($userTicketCount == 3) {
echo '<span class="badge badge-danger">'.$userTicketCount .'</span>';
}else {
echo '<span class="badge badge-info">'.$userTicketCount .'</span>';
}
;echo '                </p>
            </center>
        </div>

    </div>

    ';
include '../settings/footer.php';
;echo '</body>

</html>';;

Did this file decode correctly?

Original Code

<?php /*  */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x1a58;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NDhlKTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTzAwKCRPMDAwTzBPMDAsMHgxZjQpLCdsWUJ0Mm91T2RBZ1IwYzNTc3F4TVVuR2VoSS96YndDRWFtUER5K1Y3dkpaOTROS0hMVEYxajhrZjVwcldpNlFYPScsJ0FCQ0RFRkdISUpLTE1OT1BRUlNUVVZXWFlaYWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXowMTIzNDU2Nzg5Ky8nKSk7ZXZhbCgkT08wME8wME8wKTs='));return;?>^qds|sHFFIhGdM@QUTfwkmJzuUvwu+NIxaJSD2f0DhT3tdL0tlJIu++gBw2he0aUf+1wunNdu+1wBYmhVw+zuo8IVnKRPYB/eqjIxYKweqrIxY+/Gp+dup+wGnFIxYGIeA1/G6KdxbJ3FqSM1lLM1lLM1l6bfqFefA+buTmhkU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sk6yIncTzBl6dBAMqUTos8sasj6nM+svgPyahe0awec+b+A+IjcHIuntzfnKwBYuUy6cdOA+Ik+1wOAmwu+Hz+6Dzkq+bFdWBPqDzfnKwoA+IjcHIunxIec8zOsaSxlyhk6KzPjQben+b7yvAucHwGpjUVn7sk6yIncTzByWBPqDzfnKwoA+IjcHIun2heqmdtjaAucHwGpjUVn7sk6yInA+bfn4wBjQIVnjhkmEhec1zk0vgM4gAOn1IeAxIGwtzkq+sk68z7saSxlyhk68z7qxIGwtzkq+quojhn47wec+b+A+IjcHIuntzfnKwBww3Lvyhk68z7qU/Gc9IeqMbGLaSxlPUjn0qUcUd2cSnUpUgBvJduo1dOn1IeAU/Gc9IeqtzfnKwBYuUy6cdOqJhkN+wO0anjmoUyUabfqmwOn1d2+3dBa7zkIVIG57RBl7hVnmbVA+/eq8zVb7gxdWBPqDzfnKwoqJhkN+woA+bfn4wBl6dBqDzkpKRMpTwGnFCxayhk68z7qU/Gc9IeqMbGLJ3Lvyhk68z7qU/Gc9Ieq2heqmdtjaAucHwGpjnu+D/knjUVn1wGTjRMpVIeqD/o6mbfcHhFaJ3Lvywec+b+qJhkN+w2cHwGpjdtjaAucHwGpjnu+D/knjquojhn47wec+b+qJhkN+w2cHwGpjA8jWBDN+hkmHdBbiwu+jzuUQLpTPIeA1/GcvwBlVzGqmbkaWd2oyzG+KSB6j/eq4IM5gBDTPzkqpSavadBlaSOc+hfqJzk5ahkTmbf06d7YjRMUahVbNbknDwu+HzP81IGcHzVqmb7yPSavadBladBladtTy/ehahkTmbf06hk6KwuoJzVnFSavadBladBladBladBliIu+kduc4hec1SxAFzfba/7n1wu+VCx8DzkpjIGpjRGc+z7q+bPdQBPladBladBladBladBladBliIu+kduc4hec1SGcHzB84IFjpSavadBladBladBladBladBladBladtTy/ehahkTmbf06d7AHwFYmzu+7zP8JwunNbF8DIGpjIedPSavadBladBladBladBladBladBladBladBliIu+kduc4hec1SGcHzt5gdBladBladBladBladBladBladBladBladBladtT1buoKduc4hec1Sec8b7qJwuT+SyoyzG+KSB61buoKSavadBladBladBladBladBladBladBladBladBlaSuaTduc4hec1SxAv0PYNhPjLdDWt7uA+b7cJhkmjSB6v0M5gdBladBladBladBladBladBladBladBlaSB6y/ehQBPladBladBladBladBladBladBlaSB6y/ehQBPladBladBladBladBladBladBlaSuqJwPYDzuo1b1jPbV6fduo4/GwKRG+jIG81RGc+z7q+bPYNwBjjdD5gdBladBladBladBladBladBladBladBlaSuqJwPYDzuo1b18DzkLQBPladBladBladBladBladBladBladBladBladBliwGLahkTmbf06dVpmwPYKhehNwuoPbFYHwVnFIVTHwF85dD5gdBladBladBladBladBladBladBladBladBladBladBlizuyahkTmbf06zVokRG+jIGjQBPladBladBladBladBladBladBladBladBladBladBladBladtTmdumFIGh6dPbWIGcvzFlaAOcJwun8bVLa3knD/uiaAFbWIGcvzFlaAuoyzG+KekqJbVnDwu6FCxlWIGcvzFl7davadBladBladBladBladBladBladBladBladBladBladBladBladBlahkTmbf06dVpmwP84/Gp9duoDwu+kIxdQLpTPIeA1/GcvwtLHhM5gdBladBladBladBladBladBladBladBladBladBladBliRkTJSavadBladBladBladBladBladBladBladBladBladBladtT4/xYDzuo1b18KhehN/eq+zM5gdBladBladBladBladBladBladBladBladBladBladBladBlaSu2a/OA+IDjPdBbWIGcvzFlagBqL/OY+zVoPzuUaSMj6dBwjb7n+A1iywec+b7cEweA4ekoyzG+KdB57R7YvbBbrdBq8bknFb868bVTEhGqN/G5JdtN+hkmHdBbPBPladBladBladBladBladBladBladBladBladBladBladBladBladBYDzuo1b1jPBPladBladBladBladBladBladBladBladBladBladBladBladBladBYKhehNzu+K/FdQsVnKweqrIediRk2QBPladBladBladBladBladBladBladBladBladBladBlaSB64/M5gdBladBladBladBladBladBladBladBladBladBladBlizuyahkTmbf06zVokRG+jIGjQBPladBladBladBladBladBladBladBladBladBladBladBladtTmdumFIGh6dPl73knD/uiadBaybumLIGpmhVT+dtj6Sxl7wOA8IxbXAOc+wOqJzVw1efnFzo6mIu8JzPlKAFpL/Ol73Plybknjwu+KIfcEweA4ekoyzG+KgxlWIGcvzFl7davadBladBladBladBladBladBladBladBladBladBladBladBladBlahkTmbf06dPYKhehNzu+K/FdQqG+Kbfq+zuT8zVw+zDLHhM5gdBladBladBladBladBladBladBladBladBladBladBliRkTJSavadBladBladBladBladBladBladBladBladBladBladtT4/xYDzuo1b18KhehN/eq+zM5gdBladBladBladBladBladBladBladBladBladBladBladBlaSu2a/OA+IDjPdBbWIGcvzFlagBqL/OY+zVoPzuUaSMj6dBwjb7n+A1iyhk6yIecEweA4ekoyzG+KdB57R7YvbBbrdBqDzkq+b868bVTEhGqN/G5JdtN+hkmHdBbPBPladBladBladBladBladBladBladBladBladBladBladBladBladBYDzuo1b1jPzVokRGTJzV4PSycHIun1SB6mSavadBladBladBladBladBladBladBladBladBladBladtLHzuyQBPladBladBladBladBladBladBladBladBladBladBlaSuTJduc4hec1SGpmwP8JwunNSavadBladBladBladBladBladBladBladBladBladBladBladBlihxYvbVnVSxdaA1N+hkmHdBlvAOYvbunKhGA4Ixl6SMjaAfqFwGU7SFqj/Gc9Ieq1efnFzo6mIu8JzPlKAFpL/Ol73Plywu+D/knjb868bVTEhGqN/G5JdtN+hkmHdBbPBPladBladBladBladBladBladBladBladBladBladBladBladBladBYDzuo1b1jPzVokRGTJzV4PS+qJhkN+wO0iRk2QBPladBladBladBladBladBladBladBladBladBladBlaSB64/M5gdBladBladBladBladBladBladBladBladBladtLHwGLQBPladBladBladBladBladBladBladBladtLHIu+kSavadBladBladBladBladBladBladtLHIu+kSavadBladBladBladBladBlaSB6y/ehQBPladBladBladBladtLHIu+kSavadBladBladtLHIu+kSavadBlaSB61IGcj/G6KSavgdBladtTy/ehahkTmbf06d7c4/Gc+dOc4/Gc+RecNduA7Rec+hfqJzk5NbknDzkpyheApdD5gdBladBladBliIu+kduc4hec1SxADzkpjhG+KIedPSavadBladBladBladBlihknKwunFSavadBladBladBladBladBlaSua1S43bhVnFbk+D/OsiRka1SavadBladBladBladBliRkc+z7q+bD5gdBladBladBladBlaSuc+z7q+bD5gdBladBladBladBladBladtTLSyA+z7njCVnF3avadBladBladBladBladBladBladBbWIGcvzFlywec+bycHwGpj31N+hkmHdBbadBladBladBladBladBlaSB6LSavadBladBladBladBliRkc+z7q+bD5gdBladBladBladBlaSuc+z7q+bD5gdBladBladBladBladBladtTLS+A+Ik+1wOAJIeA8zVw1hk6yIe0rBPladBladBladBladBladBladBlaA1N+hkmHdBq8bknFUVn7sk6yIUcHwGpj31N+hkmHdBbadBladBladBladBladBlaSB6LSavadBladBladBladBliRkc+z7q+bD5gdBladBladBladBlaSuc+z7q+bD5gdBladBladBladBladBladtTLS+qJhkN+wO0rBPladBladBladBladBladBladBlaA14g/GhagBq8bknFnu+D/knjsk68z7saSMja0FyaCLJ+hkmHdBbibfYmzPYDzuo1b1jPhVoyIkUahVoyIkUNIuoKIknFdD57RPq8bknFnu+D/knjsk68z7saRPbiRfcLhG5QA14gEGn4bkUaCLJ+hkmHdBbibfYmzPYDzuo1b1jPhVoyIkUahVoyIkUN/GpVzFdQAF5ywec+b+qJhkN+w2cHwGpjdB57SB61buoKSPbWB7jg3knD/uiaAFladBladBladBladBladBliRflQBPladBladBladBladtLHhknKwunFSavadBladBladtLHIu+kSavgdBladtLHIu+kSavgdBladBbWBV+KhkT8IuUaAF5KRfc+wOqJzVw1RkIHzfq+bPpL/Ol73LvWIGcvzFl7SB6PzkqpSavgSB6vwu84SPbW3L==pBk@EY`tl

Function Calls

time 2
fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O000O0O fgetc
$O0O00OO00 fread
$OO00O0000 6744
$OO00O00O0 echo '<!-- index.php --> <html> <meta name=\'og:title\' cont..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 184e7a2c80ed0eb133aa3a9a35e86397
Eval Count 3
Decode Time 145 ms