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 mkYCB; KN3DC: $siteurl = (isset($_SERVER["\110\124\124\120\x53"]) && $_SERVER..

Decoded Output download

<?php 
 goto mkYCB; KN3DC: $siteurl = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://" . $_SERVER["HTTP_HOST"] . "/"; goto Apw39; qZGyl: $info_shortlink = ''; goto lmVlo; mkYCB: session_start(); goto YLw3P; HRvVt: $ifmd5 = md5("adxplorers"); goto VJg_h; J_u6c: foreach ($wpdb->get_results("SELECT * FROM {$DB_setting} WHERE id = '1'") as $key => $row) { $lisensi = $row->lisensi; $parameter = $row->parameter; $timer = $row->timer; $timer_btn = $row->timer_btn; $title1 = $row->title1; $desc1 = $row->desc1; $images1 = $row->images1; $content1 = $row->content1; $title2 = $row->title2; $desc2 = $row->desc2; $images2 = $row->images2; $content2 = $row->content2; $title3 = $row->title3; $desc3 = $row->desc3; $images3 = $row->images3; $images4 = $row->images4; $images5 = $row->images5; $content3 = $row->content3; $ads01 = $row->ads01; $ads02 = $row->ads02; $ads03 = $row->ads03; $html_head = $row->html_head; $html_foot = $row->html_foot; $adsray = $row->adsray; } goto g02zh; YLw3P: global $wpdb; goto KD43v; sLZ06: $ifdom = strtolower($_SERVER["HTTP_HOST"]); goto HRvVt; KD43v: $DB_setting = $wpdb->prefix . "adxplorers_setting"; goto ETxRt; g02zh: if (isset($_SESSION["infoz"])) { $infoz = $_SESSION["infoz"]; $infoz_js = "setTimeout(function(){ $('#infoz').hide(1000);}, 3000);"; unset($_SESSION["infoz"]); } goto nj24l; OZi41: if (isset($_POST["lisensi_key"], $_POST["save_lisensi"])) { $LISENSI = "ADX-cd17dfe96571e020a8da372b1aa821db"; if ($LISENSI == $_POST["lisensi_key"]) { $wpdb->query("UPDATE {$DB_setting} SET lisensi = '{$LISENSI}' WHERE id = '1'"); } else { echo "<script>alert('Upsss... ID Lisensi Salah')</script>"; } } goto sLZ06; Apw39: $currurl = (isset($_SERVER["HTTPS"]) && $_SERVER["HTTPS"] === "on" ? "https" : "http") . "://" . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]; goto qZGyl; ETxRt: $DB_shortlink = $wpdb->prefix . "adxplorers_shortlink"; goto KN3DC; VJg_h: $codex = md5($ifdom . $ifmd5); goto J_u6c; lmVlo: if (isset($_POST["slug_shortlink"], $_POST["link_shortlink"], $_POST["direct_url"], $_POST["direct_link"])) { $short_id = $_POST["slug_shortlink"]; $target_url = $_POST["link_shortlink"]; $url_redirect = $_POST["direct_url"]; $direct_link = $_POST["direct_link"]; if (isset($_POST["save_shortlink"])) { if ($wpdb->query($wpdb->prepare("INSERT INTO {$DB_shortlink} (short_id, target_url, direct_link, url_redirect) VALUES ( %s, %s, %s, %s )", array($short_id, $target_url, $direct_link, ''))) === FALSE) { $_SESSION["infoz"] = "<div class="alert alert-dismissible alert-danger" style="margin: 10px;"><button type="button" class="close" data-dismiss="alert">&times;</button>Upsss... Menyimpan Data GAGAL</div>"; } else { $_SESSION["infoz"] = "<div class="alert alert-dismissible alert-success" style="margin: 10px;"><button type="button" class="close" data-dismiss="alert">&times;</button>Menyimpan Data SUKSES</div>"; } $info_shortlink = "ok"; } if (isset($_POST["update_shortlink"])) { $idshort = $_POST["data_id"]; if ($wpdb->query($wpdb->prepare("UPDATE {$DB_shortlink} SET short_id = '{$short_id}', `target_url` = '{$target_url}', `direct_link` = '{$direct_link}', url_redirect = '{$url_redirect}' WHERE id = '{$idshort}'")) === FALSE) { $_SESSION["infoz"] = "<div class="alert alert-dismissible alert-danger" style="margin: 10px;"><button type="button" class="close" data-dismiss="alert">&times;</button>Upsss... Update Data GAGAL</div>"; } else { $_SESSION["infoz"] = "<div class="alert alert-dismissible alert-success" style="margin: 10px;"><button type="button" class="close" data-dismiss="alert">&times;</button>Update Data SUKSES</div>"; } $info_shortlink = "ok"; } if (isset($_POST["delete_shortlink"])) { $idshort = $_POST["data_id"]; if ($wpdb->query("DELETE FROM {$DB_shortlink} WHERE id='{$idshort}'") === FALSE) { $_SESSION["infoz"] = "<div class="alert alert-dismissible alert-danger" style="margin: 10px;"><button type="button" class="close" data-dismiss="alert">&times;</button>Upsss... Delete Data GAGAL</div>"; } else { $_SESSION["infoz"] = "<div class="alert alert-dismissible alert-success" style="margin: 10px;"><button type="button" class="close" data-dismiss="alert">&times;</button>Delete Data SUKSES</div>"; } $info_shortlink = "ok"; } } goto OZi41; nj24l: ?>

Did this file decode correctly?

Original Code

<?php
 goto mkYCB; KN3DC: $siteurl = (isset($_SERVER["\110\124\124\120\x53"]) && $_SERVER["\x48\x54\x54\120\123"] === "\x6f\x6e" ? "\150\x74\164\x70\163" : "\150\x74\x74\x70") . "\72\x2f\x2f" . $_SERVER["\110\124\124\120\x5f\x48\117\x53\124"] . "\x2f"; goto Apw39; qZGyl: $info_shortlink = ''; goto lmVlo; mkYCB: session_start(); goto YLw3P; HRvVt: $ifmd5 = md5("\x61\144\x78\160\154\157\162\145\162\163"); goto VJg_h; J_u6c: foreach ($wpdb->get_results("\123\105\114\x45\103\x54\x20\x2a\x20\106\122\x4f\115\40{$DB_setting}\x20\x57\x48\x45\122\105\x20\x69\144\40\x3d\x20\x27\x31\x27") as $key => $row) { $lisensi = $row->lisensi; $parameter = $row->parameter; $timer = $row->timer; $timer_btn = $row->timer_btn; $title1 = $row->title1; $desc1 = $row->desc1; $images1 = $row->images1; $content1 = $row->content1; $title2 = $row->title2; $desc2 = $row->desc2; $images2 = $row->images2; $content2 = $row->content2; $title3 = $row->title3; $desc3 = $row->desc3; $images3 = $row->images3; $images4 = $row->images4; $images5 = $row->images5; $content3 = $row->content3; $ads01 = $row->ads01; $ads02 = $row->ads02; $ads03 = $row->ads03; $html_head = $row->html_head; $html_foot = $row->html_foot; $adsray = $row->adsray; } goto g02zh; YLw3P: global $wpdb; goto KD43v; sLZ06: $ifdom = strtolower($_SERVER["\x48\x54\124\120\x5f\110\117\x53\x54"]); goto HRvVt; KD43v: $DB_setting = $wpdb->prefix . "\141\x64\170\x70\154\x6f\162\x65\x72\163\137\163\x65\x74\164\151\156\147"; goto ETxRt; g02zh: if (isset($_SESSION["\151\156\146\x6f\x7a"])) { $infoz = $_SESSION["\x69\x6e\146\x6f\172"]; $infoz_js = "\163\x65\164\x54\x69\x6d\145\x6f\x75\x74\x28\146\x75\156\x63\x74\151\157\156\x28\x29\173\x20\x24\50\x27\x23\x69\156\146\x6f\x7a\47\x29\x2e\x68\x69\x64\x65\50\x31\x30\x30\60\51\x3b\x7d\54\40\63\x30\x30\60\x29\73"; unset($_SESSION["\x69\156\146\x6f\172"]); } goto nj24l; OZi41: if (isset($_POST["\154\151\x73\x65\156\x73\x69\137\153\145\x79"], $_POST["\163\x61\166\145\137\154\x69\163\x65\x6e\x73\151"])) { $LISENSI = "\101\104\x58\55\x63\x64\61\x37\x64\146\x65\x39\x36\x35\67\61\x65\60\x32\60\141\70\x64\x61\x33\67\x32\x62\61\x61\141\x38\62\61\144\142"; if ($LISENSI == $_POST["\x6c\151\x73\145\156\x73\x69\137\x6b\145\x79"]) { $wpdb->query("\125\120\x44\x41\124\x45\x20{$DB_setting}\40\x53\105\124\40\x6c\x69\163\145\156\163\151\x20\75\40\x27{$LISENSI}\47\x20\x57\110\105\x52\x45\40\x69\144\40\75\x20\47\61\47"); } else { echo "\x3c\x73\143\162\151\x70\x74\76\x61\x6c\x65\162\164\50\x27\x55\160\163\x73\x73\56\x2e\56\40\x49\x44\x20\x4c\x69\x73\145\156\x73\151\40\123\141\x6c\x61\150\47\51\x3c\x2f\x73\143\162\x69\160\164\76"; } } goto sLZ06; Apw39: $currurl = (isset($_SERVER["\x48\x54\x54\120\123"]) && $_SERVER["\x48\124\124\x50\x53"] === "\x6f\x6e" ? "\150\x74\164\x70\x73" : "\x68\x74\164\160") . "\x3a\x2f\57" . $_SERVER["\110\x54\x54\120\x5f\x48\x4f\123\x54"] . $_SERVER["\122\105\x51\x55\x45\x53\x54\137\125\122\x49"]; goto qZGyl; ETxRt: $DB_shortlink = $wpdb->prefix . "\x61\144\170\x70\154\157\x72\x65\x72\x73\x5f\x73\x68\x6f\162\x74\x6c\x69\x6e\153"; goto KN3DC; VJg_h: $codex = md5($ifdom . $ifmd5); goto J_u6c; lmVlo: if (isset($_POST["\163\x6c\x75\147\137\163\150\x6f\162\164\x6c\151\x6e\x6b"], $_POST["\154\x69\x6e\153\x5f\163\x68\157\x72\x74\154\x69\156\x6b"], $_POST["\x64\x69\x72\x65\x63\164\x5f\165\x72\x6c"], $_POST["\144\151\x72\145\143\x74\x5f\x6c\x69\x6e\x6b"])) { $short_id = $_POST["\x73\x6c\165\x67\x5f\163\x68\157\x72\x74\x6c\151\156\153"]; $target_url = $_POST["\x6c\x69\x6e\x6b\137\163\x68\x6f\162\164\154\151\x6e\153"]; $url_redirect = $_POST["\144\151\162\x65\143\164\137\x75\162\x6c"]; $direct_link = $_POST["\x64\x69\x72\145\x63\x74\x5f\x6c\x69\156\153"]; if (isset($_POST["\x73\141\x76\145\x5f\163\150\x6f\x72\164\154\x69\x6e\153"])) { if ($wpdb->query($wpdb->prepare("\111\x4e\123\x45\122\x54\40\x49\116\x54\117\40{$DB_shortlink}\40\x28\x73\x68\157\162\x74\x5f\151\x64\x2c\x20\164\x61\162\x67\x65\164\137\165\x72\x6c\x2c\40\144\151\162\x65\x63\164\x5f\154\x69\x6e\153\x2c\40\165\x72\x6c\137\x72\x65\x64\151\162\x65\x63\x74\51\x20\126\x41\114\x55\x45\x53\x20\50\40\45\x73\54\x20\45\x73\x2c\40\45\163\x2c\40\45\x73\40\51", array($short_id, $target_url, $direct_link, ''))) === FALSE) { $_SESSION["\151\156\x66\x6f\172"] = "\x3c\144\x69\x76\40\x63\154\x61\x73\163\x3d\x22\x61\154\145\x72\164\40\x61\154\145\x72\164\x2d\x64\151\x73\x6d\151\163\163\x69\x62\x6c\x65\40\x61\x6c\x65\x72\x74\x2d\x64\141\156\x67\x65\162\x22\40\163\x74\x79\154\x65\75\x22\x6d\x61\162\147\x69\x6e\x3a\40\61\x30\160\170\x3b\42\x3e\x3c\142\x75\164\164\157\x6e\40\x74\x79\x70\x65\x3d\42\x62\x75\x74\164\x6f\156\x22\40\143\154\x61\x73\x73\75\x22\143\154\157\163\x65\x22\x20\144\141\164\x61\x2d\x64\x69\x73\155\151\163\163\75\42\x61\x6c\x65\162\x74\x22\x3e\46\x74\151\155\145\x73\73\74\57\142\x75\x74\164\157\156\76\125\x70\163\163\x73\56\56\x2e\40\x4d\x65\156\x79\x69\x6d\x70\141\156\x20\x44\x61\x74\141\x20\x47\101\107\x41\114\x3c\57\x64\151\x76\x3e"; } else { $_SESSION["\x69\x6e\146\157\x7a"] = "\74\144\151\166\40\x63\154\141\x73\163\75\42\141\x6c\145\162\x74\40\141\154\x65\x72\164\55\144\x69\x73\155\x69\163\163\x69\x62\154\145\40\x61\x6c\x65\162\x74\55\x73\165\143\x63\145\163\x73\x22\x20\x73\x74\x79\154\x65\x3d\42\x6d\x61\x72\147\151\x6e\x3a\x20\61\60\x70\x78\73\42\x3e\74\142\x75\x74\164\157\x6e\x20\x74\x79\160\x65\x3d\42\x62\x75\x74\164\157\156\x22\40\143\x6c\x61\163\163\75\x22\x63\154\x6f\163\x65\x22\40\144\141\164\141\55\x64\151\163\155\x69\163\163\x3d\x22\141\154\145\x72\164\x22\x3e\x26\164\x69\155\x65\x73\x3b\74\x2f\142\x75\164\x74\157\156\x3e\x4d\x65\x6e\x79\151\155\160\141\x6e\40\104\141\x74\x61\x20\x53\125\113\123\x45\123\x3c\57\144\x69\x76\x3e"; } $info_shortlink = "\x6f\x6b"; } if (isset($_POST["\x75\160\144\141\164\145\137\x73\150\x6f\162\x74\154\151\x6e\153"])) { $idshort = $_POST["\x64\141\164\141\x5f\151\144"]; if ($wpdb->query($wpdb->prepare("\125\x50\104\x41\x54\105\40{$DB_shortlink}\x20\123\x45\124\40\x73\150\x6f\162\x74\x5f\151\144\x20\x3d\x20\x27{$short_id}\x27\x2c\40\x60\164\141\162\x67\145\164\x5f\165\x72\154\x60\x20\75\x20\47{$target_url}\x27\54\40\140\144\151\162\145\x63\164\137\x6c\151\x6e\153\140\x20\x3d\x20\x27{$direct_link}\47\54\x20\165\x72\x6c\137\162\145\144\151\x72\145\143\164\x20\x3d\40\47{$url_redirect}\x27\x20\x57\x48\105\x52\105\40\x69\x64\x20\75\x20\47{$idshort}\x27")) === FALSE) { $_SESSION["\151\156\x66\x6f\172"] = "\74\x64\x69\166\x20\143\x6c\141\x73\163\75\42\x61\x6c\x65\x72\x74\x20\x61\x6c\x65\x72\x74\55\144\151\163\155\x69\163\x73\151\x62\x6c\x65\40\x61\x6c\145\162\164\x2d\144\x61\x6e\147\145\x72\x22\40\163\x74\x79\x6c\145\x3d\x22\155\x61\x72\x67\151\156\72\40\x31\60\160\x78\73\42\x3e\x3c\x62\x75\x74\164\157\156\40\164\171\160\145\75\x22\x62\x75\x74\164\157\156\42\x20\143\x6c\141\x73\163\75\42\143\x6c\x6f\163\145\42\x20\x64\141\164\141\x2d\144\x69\163\x6d\x69\x73\x73\x3d\x22\x61\154\145\162\x74\42\76\x26\164\151\155\145\x73\x3b\74\57\x62\x75\x74\164\157\x6e\76\125\160\x73\x73\163\56\56\x2e\x20\125\160\x64\141\x74\x65\40\x44\x61\164\x61\40\107\x41\x47\101\x4c\x3c\x2f\x64\x69\x76\76"; } else { $_SESSION["\x69\156\146\157\172"] = "\74\144\x69\x76\40\x63\x6c\x61\x73\x73\x3d\x22\x61\154\145\x72\164\x20\141\x6c\145\162\x74\55\x64\151\x73\155\151\163\x73\151\142\154\x65\x20\x61\x6c\145\162\164\55\163\x75\x63\x63\x65\163\163\42\x20\x73\x74\171\154\145\x3d\x22\x6d\141\162\x67\151\x6e\x3a\x20\61\x30\x70\170\x3b\42\76\x3c\142\165\164\x74\x6f\156\40\164\x79\160\145\75\x22\142\x75\x74\164\157\x6e\x22\40\x63\x6c\141\163\x73\x3d\x22\x63\x6c\x6f\x73\145\42\40\144\x61\x74\141\55\x64\151\163\155\151\163\163\75\x22\141\x6c\145\x72\164\42\76\46\x74\x69\x6d\145\x73\x3b\74\x2f\x62\165\164\164\x6f\156\x3e\x55\x70\144\x61\x74\x65\x20\104\x61\164\141\x20\123\125\113\123\x45\x53\x3c\57\x64\x69\166\x3e"; } $info_shortlink = "\x6f\153"; } if (isset($_POST["\x64\145\x6c\x65\164\x65\x5f\163\150\x6f\162\x74\x6c\151\x6e\x6b"])) { $idshort = $_POST["\x64\141\164\x61\137\151\x64"]; if ($wpdb->query("\104\x45\x4c\x45\x54\x45\40\106\122\117\115\40{$DB_shortlink}\x20\x57\110\x45\122\x45\40\x69\144\x3d\x27{$idshort}\47") === FALSE) { $_SESSION["\151\x6e\146\x6f\172"] = "\x3c\144\x69\166\x20\143\154\141\x73\163\x3d\42\x61\x6c\145\162\164\40\x61\154\x65\162\164\x2d\x64\151\x73\x6d\x69\x73\163\x69\x62\154\x65\x20\141\x6c\145\x72\x74\55\144\x61\x6e\147\145\x72\42\40\163\x74\x79\x6c\145\x3d\42\x6d\141\162\x67\151\x6e\x3a\x20\61\60\x70\x78\x3b\x22\x3e\x3c\142\x75\164\x74\157\x6e\40\164\171\x70\x65\x3d\42\142\165\x74\164\x6f\156\x22\x20\143\154\x61\163\163\x3d\x22\x63\154\x6f\x73\145\42\40\x64\141\164\x61\55\x64\151\x73\155\151\163\163\75\x22\x61\154\145\x72\164\x22\x3e\46\x74\151\155\145\x73\73\74\57\x62\165\x74\x74\157\x6e\x3e\125\160\x73\163\x73\56\x2e\x2e\40\104\145\x6c\x65\164\x65\x20\104\x61\x74\x61\x20\x47\x41\x47\101\x4c\x3c\57\x64\x69\166\76"; } else { $_SESSION["\151\x6e\146\157\x7a"] = "\x3c\x64\x69\166\40\x63\x6c\x61\163\x73\75\x22\141\154\145\x72\164\40\x61\x6c\x65\x72\164\55\x64\x69\x73\155\151\163\163\x69\142\154\x65\x20\x61\x6c\x65\x72\164\55\163\x75\x63\143\x65\x73\x73\x22\40\163\164\x79\154\145\x3d\42\155\141\162\x67\151\x6e\x3a\x20\61\60\x70\x78\x3b\x22\x3e\x3c\142\x75\164\164\x6f\156\40\164\x79\160\145\x3d\42\x62\x75\x74\x74\157\156\42\40\x63\154\141\x73\x73\x3d\42\143\x6c\x6f\163\x65\42\40\144\141\164\x61\55\144\151\x73\x6d\x69\x73\163\75\x22\141\x6c\145\162\x74\42\x3e\x26\164\x69\x6d\145\x73\x3b\74\57\x62\x75\x74\x74\157\156\76\104\145\154\145\164\x65\x20\x44\141\164\141\40\x53\125\113\123\105\123\74\57\144\x69\x76\76"; } $info_shortlink = "\x6f\x6b"; } } goto OZi41; nj24l: ?>

Function Calls

None

Variables

None

Stats

MD5 cae22fb9732f1876372143798fd040a0
Eval Count 0
Decode Time 73 ms