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 MTmVk; mGUM5: include "\x2e\56\x2f\143\x6f\156\x66\151\x67\57\146\165\156\x63..

Decoded Output download

<?php 
 goto MTmVk; mGUM5: include "../config/functions.inc.php"; goto DnmHZ; ySIrN: $pass = $_POST["pass"]; goto ITJxL; Y6kp9: $db_password = "n2tnk7omB$bS76Mi#EJsAv8Cr&ed"; goto ubEN5; hzXFK: $db_host = "skcircle.cbfdthhcfegt.ap-south-1.rds.amazonaws.com"; goto NhUNv; ubEN5: $db_name = "admin_skcircle_db"; goto hzXFK; DVk08: echo json_encode(SSP::simple($_POST, $sql_details, $table, $primaryKey, $columns)); goto z4FxW; NhUNv: $uid = $_POST["uid"]; goto ySIrN; HcocV: $columns = array(array("db" => "id", "dt" => "id"), array("db" => "name", "dt" => "name"), array("db" => "user_id", "dt" => "user_id"), array("db" => "title", "dt" => "title"), array("db" => "game_id", "dt" => "game_id"), array("db" => "number", "dt" => "number"), array("db" => "amount", "dt" => "amount"), array("db" => "datetime", "dt" => "datetime", "formatter" => function ($d, $r) { return date("d-m-Y h:i:s A", strtotime($d)); }), array("db" => "status", "dt" => "status"), array("db" => "id", "dt" => "action", "formatter" => function ($d, $r) { $t = "<div><button type='button' class='btn btn-primary update_modal_btn' data-id='{$d}'>Update</button></div>"; return $t; })); goto i38oM; kz9Ha: if (isset($_POST["save_result"])) { $bid_id = $_POST["bid_id"]; $res = $_POST["new_result"]; if (empty($bid_id) || !isset($bid_id)) { echo json_encode(array("status" => "error", "msg" => "Bid ID Missing")); die; } if (empty($res) || !isset($res) || strlen($res) != 2) { echo json_encode(array("status" => "error", "msg" => "Invalid Result")); die; } $update = "UPDATE `tbl_bid` SET `number` = '{$res}' WHERE `tbl_bid`.`id` = '{$bid_id}';"; if (executeQuery($update)) { echo json_encode(array("status" => "success", "msg" => "Updated SuccessFully")); die; } else { echo json_encode(array("status" => "error", "msg" => "Failed To Update")); die; } } goto oJDw6; xtULs: header("Access-Control-Allow-Methods: POST"); goto mGUM5; ITJxL: if ($pass != "test@123AbC") { die; } goto sPAHz; i38oM: $sql_details = array("user" => $db_username, "pass" => $db_password, "db" => $db_name, "host" => $db_host); goto JAvzP; QKfgO: $primaryKey = "id"; goto HcocV; oJDw6: $table = " (\xa    SELECT tbl_bid.*,tbl_website_user.name,tbl_jantari.title FROM `tbl_bid` JOIN tbl_website_user ON tbl_bid.user_id = tbl_website_user.id JOIN tbl_jantari ON tbl_jantari.id = tbl_bid.game_id WHERE tbl_bid.user_id= '{$uid}' \xa ) temp"; goto QKfgO; JAvzP: require "ssp.class.php"; goto DVk08; FrA8j: $db_username = "admin_skcircle"; goto Y6kp9; MTmVk: header("Access-Control-Allow-Origin: *"); goto xtULs; sPAHz: if (isset($_POST["search_user"])) { $uid = $_POST["user_id"]; } goto kz9Ha; DnmHZ: ?> 
 
<?php  goto FrA8j; z4FxW: ?>

Did this file decode correctly?

Original Code

<?php
 goto MTmVk; mGUM5: include "\x2e\56\x2f\143\x6f\156\x66\151\x67\57\146\165\156\x63\x74\151\157\156\163\x2e\151\x6e\x63\56\160\x68\x70"; goto DnmHZ; ySIrN: $pass = $_POST["\x70\x61\163\x73"]; goto ITJxL; Y6kp9: $db_password = "\x6e\62\164\156\153\67\x6f\155\x42\x24\142\x53\67\x36\115\x69\43\105\112\x73\101\x76\70\x43\x72\x26\x65\x64"; goto ubEN5; hzXFK: $db_host = "\163\153\x63\x69\162\143\154\x65\56\x63\142\146\144\164\x68\x68\143\x66\x65\x67\164\x2e\x61\160\55\163\x6f\165\164\150\55\x31\x2e\162\144\163\x2e\x61\155\141\x7a\157\156\x61\167\163\56\x63\x6f\x6d"; goto NhUNv; ubEN5: $db_name = "\141\144\155\151\156\137\163\x6b\x63\x69\x72\143\x6c\145\137\x64\x62"; goto hzXFK; DVk08: echo json_encode(SSP::simple($_POST, $sql_details, $table, $primaryKey, $columns)); goto z4FxW; NhUNv: $uid = $_POST["\165\151\x64"]; goto ySIrN; HcocV: $columns = array(array("\x64\x62" => "\151\144", "\x64\x74" => "\x69\144"), array("\144\142" => "\156\141\155\x65", "\144\x74" => "\156\x61\155\145"), array("\144\142" => "\x75\163\145\162\x5f\151\144", "\x64\164" => "\165\x73\145\x72\x5f\151\144"), array("\144\142" => "\x74\151\164\154\x65", "\144\x74" => "\164\151\x74\154\145"), array("\144\142" => "\x67\141\155\x65\x5f\151\144", "\x64\x74" => "\x67\x61\155\145\x5f\x69\144"), array("\144\142" => "\x6e\x75\x6d\142\145\x72", "\x64\164" => "\156\165\155\x62\145\x72"), array("\144\x62" => "\x61\x6d\157\x75\x6e\164", "\x64\164" => "\x61\x6d\x6f\x75\x6e\164"), array("\x64\142" => "\144\141\x74\x65\x74\x69\155\145", "\144\x74" => "\144\x61\164\x65\x74\x69\x6d\x65", "\x66\157\x72\155\x61\164\x74\145\x72" => function ($d, $r) { return date("\x64\55\155\x2d\131\x20\x68\x3a\x69\x3a\x73\40\101", strtotime($d)); }), array("\144\142" => "\x73\164\141\164\x75\163", "\144\164" => "\163\164\141\164\165\163"), array("\x64\142" => "\151\x64", "\144\164" => "\x61\x63\x74\151\x6f\x6e", "\146\157\162\155\x61\x74\x74\x65\162" => function ($d, $r) { $t = "\74\x64\151\166\76\74\142\165\164\164\x6f\x6e\40\164\x79\160\145\x3d\x27\x62\165\x74\164\x6f\x6e\x27\40\x63\154\x61\163\x73\x3d\47\142\164\156\40\x62\164\x6e\55\160\162\x69\155\x61\x72\171\40\165\x70\x64\141\164\145\137\x6d\157\144\141\154\x5f\142\x74\156\47\40\x64\x61\164\x61\55\x69\x64\75\47{$d}\x27\76\125\160\x64\141\164\145\74\x2f\x62\165\164\164\157\x6e\x3e\x3c\57\x64\151\166\76"; return $t; })); goto i38oM; kz9Ha: if (isset($_POST["\163\141\166\145\x5f\x72\145\163\x75\154\x74"])) { $bid_id = $_POST["\x62\151\144\x5f\151\x64"]; $res = $_POST["\156\x65\167\x5f\x72\x65\163\x75\x6c\x74"]; if (empty($bid_id) || !isset($bid_id)) { echo json_encode(array("\163\164\141\x74\165\x73" => "\145\162\x72\x6f\162", "\x6d\163\147" => "\102\151\144\x20\x49\x44\40\115\x69\x73\x73\x69\x6e\x67")); die; } if (empty($res) || !isset($res) || strlen($res) != 2) { echo json_encode(array("\163\x74\x61\164\x75\163" => "\145\162\x72\157\162", "\x6d\163\147" => "\111\156\166\141\x6c\151\x64\x20\x52\145\x73\x75\x6c\x74")); die; } $update = "\125\x50\104\101\124\x45\x20\140\164\x62\154\137\142\151\x64\140\x20\123\105\x54\x20\x60\x6e\165\x6d\x62\x65\x72\140\x20\75\x20\x27{$res}\x27\x20\x57\x48\x45\122\x45\40\140\x74\x62\154\x5f\142\x69\144\x60\56\140\151\x64\140\x20\75\40\x27{$bid_id}\47\73"; if (executeQuery($update)) { echo json_encode(array("\163\x74\x61\x74\x75\x73" => "\163\x75\143\143\145\x73\x73", "\155\x73\147" => "\125\x70\144\141\164\x65\144\40\x53\165\143\x63\145\x73\163\x46\x75\x6c\154\x79")); die; } else { echo json_encode(array("\163\164\x61\x74\165\163" => "\x65\162\162\x6f\x72", "\x6d\x73\x67" => "\106\141\151\154\x65\144\40\x54\x6f\x20\x55\x70\144\141\x74\x65")); die; } } goto oJDw6; xtULs: header("\x41\x63\x63\145\x73\x73\x2d\103\157\156\164\x72\x6f\154\x2d\101\154\x6c\x6f\x77\55\115\145\164\150\x6f\x64\163\x3a\x20\120\x4f\x53\124"); goto mGUM5; ITJxL: if ($pass != "\164\x65\x73\x74\100\61\x32\x33\x41\142\103") { die; } goto sPAHz; i38oM: $sql_details = array("\x75\x73\145\x72" => $db_username, "\x70\141\x73\163" => $db_password, "\144\x62" => $db_name, "\150\157\163\164" => $db_host); goto JAvzP; QKfgO: $primaryKey = "\x69\144"; goto HcocV; oJDw6: $table = "\40\x28\xa\40\40\40\40\x53\105\x4c\x45\103\x54\40\x74\142\154\137\142\x69\144\x2e\x2a\x2c\x74\142\154\137\x77\x65\142\x73\x69\x74\x65\137\165\x73\145\x72\x2e\x6e\141\x6d\145\x2c\164\x62\x6c\137\152\141\156\164\x61\x72\151\x2e\x74\151\164\x6c\x65\x20\x46\122\x4f\x4d\x20\x60\164\x62\154\x5f\142\x69\x64\140\x20\112\x4f\x49\x4e\40\164\x62\x6c\137\x77\145\x62\163\x69\164\145\x5f\x75\163\x65\162\40\x4f\116\x20\164\142\154\x5f\142\151\x64\x2e\165\163\145\162\x5f\x69\x64\40\x3d\x20\x74\x62\x6c\x5f\x77\145\142\x73\x69\x74\x65\x5f\165\163\x65\162\x2e\151\x64\x20\112\117\x49\116\40\164\142\154\137\x6a\141\x6e\x74\x61\x72\x69\40\117\116\40\x74\x62\x6c\x5f\152\141\156\164\x61\162\151\x2e\x69\144\x20\x3d\x20\164\142\x6c\137\142\151\x64\x2e\147\x61\x6d\145\x5f\151\144\x20\127\110\105\122\x45\x20\x74\142\154\137\142\151\144\x2e\x75\x73\145\x72\137\151\x64\x3d\40\47{$uid}\47\40\xa\40\x29\x20\x74\x65\155\x70"; goto QKfgO; JAvzP: require "\163\x73\x70\x2e\143\154\x61\x73\163\x2e\160\x68\160"; goto DVk08; FrA8j: $db_username = "\141\144\155\151\x6e\137\x73\x6b\143\151\162\143\x6c\145"; goto Y6kp9; MTmVk: header("\x41\x63\x63\145\163\163\x2d\103\157\156\164\x72\157\x6c\55\101\x6c\154\x6f\x77\55\117\162\x69\x67\x69\156\72\40\x2a"); goto xtULs; sPAHz: if (isset($_POST["\x73\x65\x61\162\x63\x68\137\x75\163\x65\x72"])) { $uid = $_POST["\x75\x73\145\162\137\151\x64"]; } goto kz9Ha; DnmHZ: ?>

<?php  goto FrA8j; z4FxW: ?>

Function Calls

None

Variables

None

Stats

MD5 414eb753bcbaf2fcf6b47ead98231f0d
Eval Count 0
Decode Time 55 ms