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 goto Tma_w; R1LbY: $sells = (new Purchase())->find()->order("\x69\144\40\104\105\x..

Decoded Output download

<?php 
 goto Tma_w; R1LbY: $sells = (new Purchase())->find()->order("id DESC")->fetch(true); goto aVn7e; FHaR0: ?> 
"> 
            <h1><?php  goto XEpES; egtvN: echo shortNumber($total); goto FHaR0; YqzW_: ?> 
"> 
            <h1><?php  goto ivTh4; aVn7e: $accounts = (new UserAccount())->find()->order("id DESC")->fetch(true); goto kZO2Z; ivTh4: echo isset($accounts) ? shortNumber(count($accounts)) : 0; goto SfFNE; cp6g7: if (isset($sells)) { echo "<div class="last_sells">"; echo "<h1>\xc3\232ltimas vendas</h1>"; $i = 0; foreach ($sells as $sell) { if ($i > 9) { return; } $i++; if ($sell->status == 1) { $status = "refused"; } else { if ($sell->status >= 2) { $status = "approved"; } else { $status = "pending"; } } echo "<div class="sell_item " . $status . "">\xa                    <div class="headline">
                    <span>Servidor " . $sell->server_id . "</span>
                    <span>R$" . number_format($sell->price, 2, ",", ".") . "</span>\xa                    </div>
                </div>"; } echo "</div>"; } goto ckNBv; SfFNE: ?> 
 </h1> 
            <h3>Contas</h3> 
        </div> 
        <div class="statistics" data-css-attr="<?php  goto qQ0Kp; OlSWO: ?> 
"> 
            <h1><?php  goto nQj0v; g_YUN: echo shortNumber(isset($sells) ? count($sells) : 0); goto OlSWO; nQj0v: echo shortNumber(isset($sells) ? count($sells) : 0); goto k2VtR; xJuIx: echo isset($accounts) ? shortNumber(count($accounts)) : 0; goto YqzW_; f9mQb: if (isset($sells)) { foreach ($sells as $sell) { if ($sell->status >= 2) { $earned += $sell->price; $total++; } } } goto acQnG; pc7_W: echo $earned > 1000 ? shortNumber($earned) : number_format($earned, 2, ",", "."); goto JoEzP; OA6Y2: require __DIR__ . "/../../sys/Class/Models/UserAccount.php"; goto R1LbY; WMwi0: $total = 0; goto f9mQb; PipzB: ?> 
"> 
            <h1>R$ <?php  goto pc7_W; Tma_w: ?> 
    <?php  goto enbbL; L7Evn: require __DIR__ . "/../../sys/Class/Models/Purchase.php"; goto OA6Y2; acQnG: function shortNumber($num) { $units = array('', "K", "M", "B", "T"); for ($i = 0; $num >= 1000; $i++) { $num /= 1000; } return round($num, 1) . $units[$i]; } goto U3lax; kZO2Z: $earned = 0; goto WMwi0; JoEzP: ?> 
</h1> 
            <h3>Ganhos</h3> 
        </div> 
    </div> 
 
    <div class="charts"> 
        <div class="lineChart"> 
            <h1 id='last_x_days'></h1> 
            <canvas id="myChart" style="width:100%;"></canvas> 
        </div> 
        <div class="pieChart"> 
            <h1>Por cada Bot</h1> 
            <canvas id="pieChart" style="width:100%;"></canvas> 
        </div> 
    </div> 
 
    <?php  goto cp6g7; U3lax: ?> 
    <h1>Estatsticas</h1> 
    <div class="main_statistics"> 
        <div class="statistics" data-css-attr="<?php  goto egtvN; enbbL: require __DIR__ . "/../../sys/protect.php"; goto L7Evn; k2VtR: ?> 
</h1> 
            <h3>Transaes</h3> 
        </div> 
        <div class="statistics" data-css-attr="<?php  goto xJuIx; uxXbU: ?> 
</h1> 
            <h3>Vendas</h3> 
        </div> 
        <div class="statistics" data-css-attr="<?php  goto g_YUN; XEpES: echo shortNumber($total); goto uxXbU; qQ0Kp: echo $earned > 1000 ? shortNumber($earned) : number_format($earned, 2, ",", "."); goto PipzB; ckNBv: ?> 
    </div>

Did this file decode correctly?

Original Code

<?php
 goto Tma_w; R1LbY: $sells = (new Purchase())->find()->order("\x69\144\40\104\105\x53\103")->fetch(true); goto aVn7e; FHaR0: ?>
">
            <h1><?php  goto XEpES; egtvN: echo shortNumber($total); goto FHaR0; YqzW_: ?>
">
            <h1><?php  goto ivTh4; aVn7e: $accounts = (new UserAccount())->find()->order("\x69\x64\x20\104\x45\123\x43")->fetch(true); goto kZO2Z; ivTh4: echo isset($accounts) ? shortNumber(count($accounts)) : 0; goto SfFNE; cp6g7: if (isset($sells)) { echo "\74\x64\x69\x76\x20\x63\154\141\x73\x73\x3d\42\x6c\x61\163\x74\x5f\x73\x65\x6c\154\163\x22\x3e"; echo "\74\150\x31\x3e\xc3\232\154\x74\x69\155\141\x73\x20\x76\145\x6e\x64\141\163\74\x2f\150\61\x3e"; $i = 0; foreach ($sells as $sell) { if ($i > 9) { return; } $i++; if ($sell->status == 1) { $status = "\162\x65\x66\165\163\x65\144"; } else { if ($sell->status >= 2) { $status = "\x61\160\x70\162\x6f\x76\x65\x64"; } else { $status = "\160\x65\156\x64\151\156\x67"; } } echo "\x3c\144\151\166\x20\143\x6c\141\163\163\75\42\x73\x65\x6c\154\x5f\151\164\145\x6d\x20" . $status . "\x22\x3e\xa\40\x20\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\40\40\x20\40\x20\x20\74\x64\x69\166\40\143\x6c\x61\x73\x73\75\x22\x68\x65\x61\144\154\151\x6e\145\x22\76\12\40\x20\40\40\x20\40\40\x20\x20\x20\x20\x20\x20\40\40\x20\x20\40\40\40\74\x73\x70\x61\x6e\x3e\x53\x65\x72\x76\151\x64\x6f\x72\x20" . $sell->server_id . "\74\x2f\163\x70\x61\x6e\76\12\x20\40\40\40\40\40\x20\x20\x20\40\x20\40\40\40\40\x20\40\40\x20\40\x3c\x73\160\x61\x6e\76\122\44" . number_format($sell->price, 2, "\x2c", "\x2e") . "\74\57\x73\x70\x61\156\76\xa\x20\40\40\x20\x20\x20\40\40\40\40\40\40\x20\x20\x20\40\x20\40\40\x20\74\57\144\x69\166\76\12\x20\40\40\x20\x20\x20\x20\40\x20\x20\40\x20\x20\40\40\x20\x3c\57\144\x69\166\x3e"; } echo "\x3c\x2f\x64\x69\x76\x3e"; } goto ckNBv; SfFNE: ?>
 </h1>
            <h3>Contas</h3>
        </div>
        <div class="statistics" data-css-attr="<?php  goto qQ0Kp; OlSWO: ?>
">
            <h1><?php  goto nQj0v; g_YUN: echo shortNumber(isset($sells) ? count($sells) : 0); goto OlSWO; nQj0v: echo shortNumber(isset($sells) ? count($sells) : 0); goto k2VtR; xJuIx: echo isset($accounts) ? shortNumber(count($accounts)) : 0; goto YqzW_; f9mQb: if (isset($sells)) { foreach ($sells as $sell) { if ($sell->status >= 2) { $earned += $sell->price; $total++; } } } goto acQnG; pc7_W: echo $earned > 1000 ? shortNumber($earned) : number_format($earned, 2, "\x2c", "\56"); goto JoEzP; OA6Y2: require __DIR__ . "\57\56\56\57\x2e\56\x2f\x73\171\163\x2f\x43\x6c\141\163\x73\57\115\157\x64\x65\x6c\x73\57\x55\163\x65\x72\101\x63\x63\x6f\165\x6e\x74\x2e\x70\x68\x70"; goto R1LbY; WMwi0: $total = 0; goto f9mQb; PipzB: ?>
">
            <h1>R$ <?php  goto pc7_W; Tma_w: ?>
    <?php  goto enbbL; L7Evn: require __DIR__ . "\57\56\x2e\x2f\56\x2e\x2f\x73\171\x73\57\103\x6c\141\x73\x73\57\x4d\x6f\x64\x65\154\163\57\x50\x75\162\143\150\141\163\x65\56\x70\150\x70"; goto OA6Y2; acQnG: function shortNumber($num) { $units = array('', "\x4b", "\x4d", "\102", "\124"); for ($i = 0; $num >= 1000; $i++) { $num /= 1000; } return round($num, 1) . $units[$i]; } goto U3lax; kZO2Z: $earned = 0; goto WMwi0; JoEzP: ?>
</h1>
            <h3>Ganhos</h3>
        </div>
    </div>

    <div class="charts">
        <div class="lineChart">
            <h1 id='last_x_days'></h1>
            <canvas id="myChart" style="width:100%;"></canvas>
        </div>
        <div class="pieChart">
            <h1>Por cada Bot</h1>
            <canvas id="pieChart" style="width:100%;"></canvas>
        </div>
    </div>

    <?php  goto cp6g7; U3lax: ?>
    <h1>Estatsticas</h1>
    <div class="main_statistics">
        <div class="statistics" data-css-attr="<?php  goto egtvN; enbbL: require __DIR__ . "\x2f\56\56\57\56\x2e\57\163\x79\x73\57\160\x72\157\164\145\x63\164\56\x70\x68\160"; goto L7Evn; k2VtR: ?>
</h1>
            <h3>Transaes</h3>
        </div>
        <div class="statistics" data-css-attr="<?php  goto xJuIx; uxXbU: ?>
</h1>
            <h3>Vendas</h3>
        </div>
        <div class="statistics" data-css-attr="<?php  goto g_YUN; XEpES: echo shortNumber($total); goto uxXbU; qQ0Kp: echo $earned > 1000 ? shortNumber($earned) : number_format($earned, 2, "\54", "\x2e"); goto PipzB; ckNBv: ?>
    </div>

Function Calls

None

Variables

None

Stats

MD5 1a0605fabeab7a84a73b84b55f776a21
Eval Count 0
Decode Time 30 ms