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 defined("\x42\101\123\105\x50\101\x54\x48") or die("\x4e\157\x20\x64\151\x72\x65\1..

Decoded Output download

<?php 
 defined("BASEPATH") or die("No direct script access allowed"); class Popup_mdk extends CI_Controller { public function index() { $this->load->helper("form"); $setkey = "popup_setting"; $cekdata = $this->db->get_where("setelan", array("set_key" => $setkey))->row(); if ($cekdata) { $popup = json_decode($cekdata->set_val, true); $linktipe = $popup["linktipe"]; $linkstr = ''; if ($linktipe == "order") { $linkstr = "w38s.orderPage('" . $popup["idproduk"] . "'," . $popup["idprovider"] . ",'" . $this->user->us_phone . "')"; } if ($linktipe == "biasa") { $linkstr = $popup["link"]; } $judul = $popup["judul"]; $isi = $popup["isi"]; $link = $linkstr; $tombol = $popup["tombol"]; $status = $popup["status"]; $runtext = $popup["runtext"]; } else { $judul = ''; $isi = ''; $link = ''; $tombol = ''; $status = ''; $runtext = ''; $linktipe = ''; } $param["judul"] = $judul; $param["isi"] = $isi; $param["link"] = $link; $param["tombol"] = $tombol; $param["off"] = $status; $param["close"] = $status; $param["runtext"] = $runtext; $param["linktipe"] = $linktipe; $this->load->view("popup_mdk", $param); } } ?>

Did this file decode correctly?

Original Code

<?php
 defined("\x42\101\123\105\x50\101\x54\x48") or die("\x4e\157\x20\x64\151\x72\x65\143\x74\x20\x73\x63\x72\151\x70\x74\x20\141\143\x63\145\163\x73\40\141\154\x6c\x6f\x77\x65\x64"); class Popup_mdk extends CI_Controller { public function index() { $this->load->helper("\146\x6f\162\x6d"); $setkey = "\x70\x6f\160\x75\x70\137\163\145\164\164\x69\x6e\x67"; $cekdata = $this->db->get_where("\x73\x65\164\x65\x6c\141\x6e", array("\x73\145\164\x5f\x6b\145\171" => $setkey))->row(); if ($cekdata) { $popup = json_decode($cekdata->set_val, true); $linktipe = $popup["\154\151\x6e\153\x74\151\x70\145"]; $linkstr = ''; if ($linktipe == "\157\x72\144\145\162") { $linkstr = "\167\x33\x38\x73\x2e\x6f\x72\144\145\x72\x50\141\147\x65\x28\47" . $popup["\x69\x64\x70\x72\x6f\x64\x75\153"] . "\47\x2c" . $popup["\x69\144\160\x72\157\166\151\x64\x65\162"] . "\x2c\x27" . $this->user->us_phone . "\x27\x29"; } if ($linktipe == "\142\x69\141\x73\141") { $linkstr = $popup["\154\x69\156\x6b"]; } $judul = $popup["\152\x75\144\x75\154"]; $isi = $popup["\151\x73\x69"]; $link = $linkstr; $tombol = $popup["\x74\x6f\155\142\157\x6c"]; $status = $popup["\x73\x74\x61\164\x75\163"]; $runtext = $popup["\x72\x75\156\x74\x65\x78\x74"]; } else { $judul = ''; $isi = ''; $link = ''; $tombol = ''; $status = ''; $runtext = ''; $linktipe = ''; } $param["\152\165\x64\x75\154"] = $judul; $param["\151\x73\151"] = $isi; $param["\x6c\151\156\153"] = $link; $param["\x74\157\x6d\x62\x6f\154"] = $tombol; $param["\x6f\x66\146"] = $status; $param["\143\x6c\157\163\x65"] = $status; $param["\x72\165\x6e\164\x65\x78\164"] = $runtext; $param["\154\151\156\x6b\164\x69\x70\145"] = $linktipe; $this->load->view("\160\157\x70\x75\x70\137\155\x64\153", $param); } }

Function Calls

defined 1

Variables

None

Stats

MD5 83b1c7f7a89589ee15677db47270c43c
Eval Count 0
Decode Time 35 ms