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["HTTPS"]) && $_SERVER["HTTPS"] === ..
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; $content3 = $row->content3; $ads01 = $row->ads01; $ads02 = $row->ads02; $ads03 = $row->ads03; $html_head = $row->html_head; $html_foot = $row->html_foot; } 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">×</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">×</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">×</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">×</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">×</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">×</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["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; $content3 = $row->content3; $ads01 = $row->ads01; $ads02 = $row->ads02; $ads03 = $row->ads03; $html_head = $row->html_head; $html_foot = $row->html_foot; } 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">×</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">×</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">×</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">×</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">×</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">×</button>Delete Data SUKSES</div>"; } $info_shortlink = "ok"; } } goto OZi41; nj24l: ?>
Function Calls
None |
Stats
MD5 | 0e64adaa19e91ae73629903c1a5f04eb |
Eval Count | 0 |
Decode Time | 49 ms |