Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

echo "\">\n\n\n \x3cd\x69\x76 c\x6ca\x73\x73\x3d\x22b\x75\x74to\x6e-\x63\x6f\x6e\x74ain\x6..

Decoded Output download

">


 <div class="button-container">
        <button type="button" class="button nav w-button" onclick="updateValue(25)">R\$25<br>R\$40 BNUS</button>
        <button type="button" class="button nav w-button" onclick="updateValue(30)">R\$30<br>R\$80 BNUS</button>
        <br><br>
        <button type="button" class="button nav w-button" onclick="updateValue(50)">R\$50<br>R\$150 BNUS</button>
        <button type="button" class="button nav w-button" onclick="updateValue(100)">R\$100<br>R\$250 BNUS</button>
        <br><br>
    </div>


         <script>
        function formatarCPF(cpfInput) {
            // Remove pontos e traos do CPF
            var cpf = cpfInput.value.replace(/[^\d]/g, '');

            // Adiciona pontos e traos conforme o formato do CPF
            cpf = cpf.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/, "\$1.\$2.\$3-\$4");

            // Atualiza o valor do input
            cpfInput.value = cpf;
        }
    </script>
    
    
      <script>
        function updateValue(value) {
            document.getElementById('valuedeposit').value = value;
        }
    </script>
        <input type="submit" id="submitButton" name="gerar_qr_code" value="Depositar via PIX" class="primary-button w-button">
    </form>

    <div id="qrcode"></div>

    <script>
    
        async function generateQRCode() {
            var name = document.getElementById('name').value;
            var cpf = document.getElementById('document').value;
            var amount = document.getElementById('valuedeposit').value;
            
            var callbackUrl = '

Did this file decode correctly?

Original Code

echo "\">\n\n\n \x3cd\x69\x76 c\x6ca\x73\x73\x3d\x22b\x75\x74to\x6e-\x63\x6f\x6e\x74ain\x65\x72\">\n\x20\x20 \x20 \x20\x20\x20<b\x75\x74t\x6fn type\x3d\"\x62u\x74\x74\x6fn\x22 c\x6cas\x73\x3d\x22b\x75\x74ton\x20\x6e\x61\x76\x20\x77-b\x75\x74\x74\x6fn\x22\x20\x6fnc\x6c\x69c\x6b\x3d\"\x75\x70\x64\x61\x74\x65\x56\x61lue(25)\">R\$\x325<\x62\x72>\x52\$40 \x42\x4eUS\x3c/but\x74o\x6e\x3e\n \x20 \x20  \x20\x20<bu\x74\x74o\x6e t\x79pe=\x22but\x74on\x22 cl\x61\x73\x73\x3d\x22b\x75\x74ton\x20\x6ea\x76 \x77-\x62\x75tt\x6f\x6e\"\x20\x6fn\x63l\x69ck=\x22up\x64at\x65\x56\x61\x6cu\x65(\x330)\"\x3e\x52\$\x330\x3cbr>R\$80 \x42\x4e\x55S</b\x75t\x74\x6f\x6e\x3e\n \x20   \x20  \x3cbr>\x3cb\x72\x3e\n \x20\x20\x20\x20 \x20 <\x62\x75\x74to\x6e\x20\x74\x79\x70\x65\x3d\x22bu\x74ton\"\x20c\x6cass=\x22\x62\x75t\x74\x6fn \x6eav\x20\x77-bu\x74\x74\x6f\x6e\"\x20onc\x6c\x69ck=\"\x75\x70d\x61teVal\x75\x65(50)\x22>R\$\x35\x30\x3c\x62r>\x52\$\x315\x30\x20\x42\x4eU\x53\x3c/\x62utt\x6fn>\n \x20 \x20\x20 \x20\x20\x3cb\x75t\x74on ty\x70\x65=\"b\x75t\x74\x6f\x6e\x22 c\x6c\x61\x73s\x3d\x22\x62ut\x74\x6f\x6e \x6e\x61v w-\x62\x75\x74to\x6e\x22\x20\x6f\x6ec\x6ci\x63k=\"upda\x74e\x56alue(\x31\x300)\"\x3e\x52\$\x310\x30\x3c\x62\x72>\x52\$2\x350\x20\x42\x4eUS</bu\x74\x74on>\n \x20    \x20\x20\x3cbr>\x3c\x62\x72\x3e\n\x20  \x20</d\x69\x76>\n\n\n \x20 \x20   \x20 <\x73c\x72\x69p\x74\x3e\n\x20\x20      \x66\x75n\x63tio\x6e \x66\x6fr\x6d\x61\x74\x61r\x43\x50\x46(c\x70\x66I\x6eput)\x20{\n\x20\x20     \x20\x20 \x20 // R\x65\x6dove \x70o\x6e\x74\x6f\x73\x20\x65 traos\x20\x64o\x20C\x50\x46\n  \x20\x20 \x20    \x20\x20v\x61r c\x70\x66\x20\x3d\x20cp\x66\x49n\x70ut.v\x61\x6cue.\x72e\x70la\x63\x65(/[^\\\x64]/\x67, \x27\x27)\x3b\n\n \x20\x20 \x20\x20\x20\x20\x20\x20\x20 //\x20\x41\x64i\x63\x69ona\x20po\x6e\x74\x6fs\x20e\x20t\x72aos con\x66\x6fr\x6de\x20o for\x6d\x61to do\x20\x43P\x46\n \x20 \x20\x20\x20 \x20\x20\x20\x20 c\x70f\x20=\x20cpf.\x72\x65pl\x61c\x65(/(\\d{\x33})(\x5c\x64{3})(\x5cd{\x33})(\x5cd{\x32})/, \"\$\x31\x2e\$2.\$3-\$4\x22);\n\n  \x20 \x20 \x20\x20\x20 \x20 // \x41\x74\x75al\x69z\x61 \x6f valor \x64o i\x6e\x70ut\n\x20    \x20\x20\x20\x20\x20 \x20\x63pf\x49npu\x74\x2e\x76\x61lue \x3d\x20c\x70f\x3b\n\x20 \x20  \x20\x20\x20}\n\x20\x20\x20\x20\x3c/sc\x72\x69\x70t>\n\x20\x20 \x20\n\x20 \x20\x20\n\x20     \x3csc\x72i\x70t\x3e\n \x20\x20    \x20fu\x6ec\x74\x69on\x20u\x70d\x61teV\x61\x6cu\x65(va\x6c\x75e)\x20{\n   \x20\x20\x20\x20   \x20 do\x63\x75\x6den\x74.get\x45\x6ce\x6d\x65\x6etBy\x49\x64(\x27\x76\x61\x6cue\x64e\x70\x6f\x73i\x74\x27).\x76al\x75e\x20\x3d\x20\x76\x61l\x75e;\n\x20\x20    \x20\x20}\n\x20\x20  </s\x63r\x69p\x74>\n\x20\x20\x20 \x20\x20\x20 <inpu\x74\x20\x74y\x70e=\"s\x75b\x6di\x74\x22 id=\"\x73\x75b\x6dit\x42ut\x74on\x22 \x6ea\x6d\x65\x3d\"\x67e\x72a\x72\x5fq\x72\x5f\x63\x6f\x64\x65\" \x76al\x75e=\"Deposi\x74a\x72\x20\x76i\x61\x20P\x49\x58\"\x20\x63l\x61s\x73\x3d\"\x70\x72\x69m\x61r\x79-butt\x6fn\x20\x77-\x62\x75\x74t\x6f\x6e\x22>\n\x20  \x20</\x66orm\x3e\n\n \x20\x20 <\x64iv \x69\x64\x3d\"qrcode\x22\x3e</\x64\x69\x76\x3e\n\n\x20\x20\x20 <\x73cr\x69p\x74>\n\x20 \x20 \n\x20 \x20\x20 \x20\x20\x20\x61syn\x63 \x66\x75\x6e\x63\x74ion ge\x6e\x65\x72a\x74\x65\x51\x52\x43o\x64e() {\n \x20  \x20\x20  \x20\x20\x20 \x76\x61\x72\x20\x6ea\x6de = docu\x6dent.\x67\x65\x74El\x65me\x6etById('n\x61\x6de\x27).\x76\x61\x6cu\x65;\n \x20\x20 \x20\x20\x20\x20\x20\x20 \x20\x76ar\x20c\x70\x66\x20= do\x63\x75\x6de\x6e\x74\x2e\x67\x65tE\x6ce\x6d\x65ntB\x79\x49d(\x27\x64oc\x75me\x6et\x27).\x76a\x6c\x75e;\n\x20\x20  \x20    \x20  var \x61mo\x75n\x74 =\x20\x64oc\x75\x6d\x65\x6e\x74\x2e\x67e\x74Ele\x6d\x65\x6e\x74\x42\x79\x49d('valu\x65\x64\x65\x70o\x73\x69t')\x2e\x76al\x75e;\n\x20\x20   \x20 \x20 \x20\x20\x20\n   \x20 \x20 \x20\x20 \x20\x20va\x72\x20cal\x6c\x62\x61c\x6bU\x72\x6c \x3d \x27";

Function Calls

None

Variables

None

Stats

MD5 651e33b3c4622bdec7a3912ddabf6bf9
Eval Count 0
Decode Time 48 ms