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 "/s\x6bc\x61\x74\x63\x6f\x70\x79/\x65x\x74\x72\x61\x27,\n \x20\x20 \x20 \x20\x20 \x..

Decoded Output download

/skcatcopy/extra',
                                    type: 'GET',
                                    success: function (jsonData) {
                                        // Handle the JSON data here
                                        jindalData = JSON.parse(jsonData)
                                        currentCatID = jindalData.latest_cat_id;
                                        
                                        // here file upload code

                                // Process the files for the current album with the retrieved currentCatID
                                processFiles(files, currentCatID);

                                index++;
                                setTimeout(processAlbum, 2000); // Add a 2-second delay before next iteration
                            },
                            error: function (xhr, status, error) {
                                console.error('AJAX Error:', error);
                            }
                        });
                    },
                    error: function (xhr, status, error) {
                        console.error('AJAX Error:', error);
                    }
                });
            }
        }

        // Start processing the first album
        processAlbum();
    })
    .catch(error => {
        console.error('Fetch Error:', error);
    });
}


</script>



<script>
    function fill(v) { jQuery('#find').val(jQuery(v).text()); jQuery('#parent').val(jQuery(v).data('id')); jQuery("#display").html("") }
jQuery(document).ready(function() {
    jQuery("#find").keyup(function(){
        var name = jQuery('#find').val();
        if (name == "") jQuery("#display").html("");
        else {
            jQuery.ajax({
                type: "GET",
                url: "https://djbiharmasti.com/Ismail-AyeshA/skcatcopy/search/find/"+name,
                success: function(html) {
                        
                    jQuery("#display").html(html).show();
                    
                    }
            });
        }
    });
});
</script>

Did this file decode correctly?

Original Code

echo "/s\x6bc\x61\x74\x63\x6f\x70\x79/\x65x\x74\x72\x61\x27,\n \x20\x20 \x20   \x20\x20 \x20  \x20  \x20  \x20 \x20\x20 \x20     \x20 \x20 \x20\x74\x79p\x65: '\x47E\x54',\n  \x20\x20   \x20\x20  \x20\x20  \x20  \x20   \x20\x20\x20 \x20 \x20   \x20 \x20 \x73uc\x63es\x73: \x66\x75\x6e\x63t\x69\x6f\x6e\x20(j\x73\x6fnDa\x74\x61)\x20{\n \x20  \x20\x20\x20\x20  \x20\x20   \x20\x20  \x20 \x20  \x20   \x20   \x20\x20  \x20\x20\x20\x20//\x20Ha\x6edl\x65 t\x68e\x20\x4a\x53\x4f\x4e d\x61\x74a\x20he\x72\x65\n\x20\x20\x20   \x20\x20  \x20 \x20\x20\x20 \x20 \x20   \x20 \x20  \x20\x20     \x20\x20\x20\x20  \x6a\x69n\x64a\x6cData =\x20J\x53\x4f\x4e\x2e\x70arse(\x6a\x73onD\x61\x74a)\n\x20\x20   \x20 \x20\x20\x20 \x20 \x20  \x20\x20 \x20\x20 \x20\x20\x20 \x20 \x20  \x20\x20 \x20\x20\x20\x20 \x20c\x75\x72ren\x74\x43\x61t\x49D \x3d\x20ji\x6e\x64alD\x61\x74\x61\x2e\x6ca\x74e\x73t_c\x61\x74_\x69\x64;\n\x20 \x20 \x20 \x20\x20\x20 \x20\x20\x20\x20    \x20\x20  \x20    \x20\x20    \x20 \x20\x20\x20\x20\x20\n \x20\x20   \x20  \x20\x20\x20 \x20\x20\x20 \x20  \x20 \x20\x20\x20\x20\x20\x20 \x20\x20\x20\x20  \x20\x20 \x20 //\x20h\x65\x72e \x66il\x65\x20upload\x20\x63\x6f\x64\x65\n\n   \x20\x20\x20\x20\x20\x20 \x20   \x20  \x20 \x20 \x20 \x20\x20\x20\x20 \x20 \x20\x20//\x20\x50roces\x73\x20\x74\x68\x65\x20\x66\x69l\x65\x73 \x66or\x20the c\x75r\x72en\x74 \x61\x6c\x62\x75\x6d \x77\x69\x74h th\x65 r\x65\x74r\x69\x65\x76ed\x20cu\x72\x72\x65\x6et\x43atI\x44\n \x20 \x20  \x20\x20\x20\x20\x20\x20\x20\x20  \x20\x20 \x20\x20 \x20 \x20\x20\x20\x20    \x70roce\x73\x73\x46\x69l\x65s(f\x69\x6c\x65\x73,\x20cur\x72en\x74\x43\x61tI\x44)\x3b\n\n\x20 \x20\x20  \x20  \x20\x20 \x20  \x20  \x20 \x20\x20\x20 \x20 \x20\x20  \x20 ind\x65x++;\n      \x20 \x20\x20\x20    \x20\x20 \x20\x20\x20 \x20  \x20  \x20\x20\x20 \x73e\x74T\x69meou\x74(\x70roc\x65\x73s\x41lbum,\x20\x32000); // \x41\x64\x64 \x61 \x32-\x73\x65\x63on\x64\x20d\x65\x6c\x61\x79\x20be\x66o\x72\x65\x20\x6eext\x20\x69te\x72a\x74ion\n\x20  \x20 \x20  \x20 \x20  \x20\x20\x20 \x20    \x20\x20  \x20\x20},\n   \x20 \x20 \x20 \x20  \x20\x20\x20\x20\x20\x20 \x20\x20\x20 \x20 \x20\x20 \x65\x72r\x6f\x72:\x20\x66un\x63tio\x6e\x20(xh\x72,\x20s\x74at\x75\x73, e\x72\x72\x6fr)\x20{\n  \x20\x20\x20\x20   \x20 \x20\x20\x20\x20 \x20\x20\x20\x20\x20  \x20  \x20\x20 \x20  c\x6fnso\x6c\x65\x2ee\x72r\x6fr(\x27\x41\x4aA\x58\x20\x45\x72r\x6f\x72:\x27,\x20\x65rr\x6f\x72);\n   \x20\x20\x20\x20   \x20\x20\x20 \x20\x20  \x20\x20  \x20\x20 \x20\x20\x20}\n  \x20 \x20  \x20\x20   \x20 \x20 \x20\x20    \x20\x20});\n\x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20\x20\x20\x20  },\n\x20\x20  \x20\x20\x20 \x20  \x20 \x20 \x20\x20 \x20\x20er\x72\x6f\x72:\x20\x66\x75nc\x74i\x6f\x6e\x20(x\x68r, stat\x75\x73, \x65rr\x6f\x72)\x20{\n \x20 \x20  \x20    \x20 \x20  \x20\x20 \x20 \x20\x20 co\x6e\x73o\x6ce.\x65\x72\x72or('AJ\x41\x58 E\x72\x72or:\x27,\x20\x65\x72r\x6fr);\n \x20\x20  \x20  \x20   \x20\x20   \x20  }\n \x20  \x20 \x20   \x20\x20\x20 \x20\x20})\x3b\n \x20\x20\x20    \x20\x20\x20\x20}\n\x20\x20 \x20\x20  \x20}\n\n\x20 \x20\x20\x20 \x20\x20//\x20S\x74\x61\x72\x74 process\x69n\x67 th\x65 \x66i\x72\x73t \x61l\x62\x75\x6d\n \x20 \x20\x20  \x20\x70\x72oc\x65s\x73\x41l\x62\x75m()\x3b\n\x20\x20\x20\x20})\n   \x20.\x63\x61t\x63h(\x65\x72r\x6fr\x20=\x3e {\n\x20\x20\x20 \x20 \x20\x20\x63onsole.err\x6fr('\x46e\x74\x63h\x20\x45r\x72\x6f\x72:', err\x6f\x72)\x3b\n\x20\x20  })\x3b\n}\n\n\n</\x73c\x72\x69p\x74>\n\n\n\n\x3c\x73c\x72i\x70\x74\x3e\n \x20 \x20\x66\x75\x6ec\x74\x69on f\x69\x6cl(\x76)\x20{\x20\x6a\x51\x75e\x72\x79('\x23\x66in\x64')\x2eval(j\x51\x75er\x79(v)\x2etext()); j\x51\x75\x65ry('\x23\x70\x61\x72\x65\x6et\x27)\x2e\x76a\x6c(\x6a\x51\x75\x65r\x79(v).d\x61ta('\x69d\x27))\x3b \x6aQu\x65\x72\x79(\x22\x23dis\x70l\x61\x79\").html(\x22\")\x20}\nj\x51\x75e\x72\x79(\x64oc\x75me\x6et)\x2er\x65ady(f\x75n\x63t\x69\x6f\x6e()\x20{\n \x20\x20\x20\x6aQ\x75e\x72\x79(\"#find\").\x6b\x65y\x75p(func\x74\x69\x6f\x6e(){\n  \x20 \x20\x20 \x20v\x61\x72\x20n\x61me = j\x51\x75e\x72\x79('#\x66in\x64').va\x6c()\x3b\n \x20\x20\x20\x20\x20 \x20\x69\x66 (n\x61me =\x3d \x22\x22)\x20\x6aQ\x75ery(\"#\x64\x69spl\x61y\")\x2e\x68\x74ml(\"\x22)\x3b\n \x20 \x20\x20\x20  e\x6c\x73e {\n \x20 \x20\x20\x20\x20 \x20\x20 \x20\x6aQuery\x2ea\x6a\x61\x78({\n \x20 \x20\x20\x20 \x20 \x20\x20  \x20\x20 \x74\x79\x70\x65: \x22GE\x54\",\n\x20\x20  \x20   \x20 \x20 \x20   \x75r\x6c: \"\x68\x74tps://\x64j\x62\x69har\x6da\x73\x74i.c\x6f\x6d/Ismail-\x41ye\x73h\x41/s\x6b\x63atc\x6f\x70y/se\x61rc\x68/\x66\x69\x6e\x64/\x22+nam\x65,\n\x20  \x20\x20\x20 \x20  \x20\x20  \x20 s\x75c\x63\x65\x73\x73: f\x75ncti\x6f\x6e(\x68t\x6dl) {\n \x20\x20 \x20 \x20\x20\x20\x20 \x20\x20 \x20 \x20 \x20 \x20\x20\x20\x20\n\x20 \x20\x20\x20\x20\x20  \x20\x20\x20 \x20   \x20  \x6aQ\x75ery(\x22#disp\x6c\x61y\")\x2e\x68\x74ml(\x68\x74\x6dl)\x2e\x73how()\x3b\n\x20      \x20\x20 \x20\x20    \x20  \x20\n\x20\x20 \x20  \x20\x20 \x20\x20  \x20\x20\x20  \x20 }\n\x20\x20    \x20\x20\x20 \x20 })\x3b\n  \x20  \x20  }\n  \x20\x20})\x3b\n})\x3b\n\x3c/scri\x70\x74>\n";

Function Calls

None

Variables

None

Stats

MD5 11481d51deeec8d328109d633f5f312e
Eval Count 0
Decode Time 38 ms