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 ob_start(); $a='eNrtWF1v4jgUfd9f4YnQOEhQtA/7AgtVt3RHaIdRVbZPo5FlEgOZGjuynaWdDv99r50A..
Decoded Output download
ob_end_clean();?><?php
class Pengguna_Login extends CI_Controller { function __construct() { parent::__construct(); if ($this->my_usession->logged_in == FALSE) { echo "window.location = '" . base_url() . "user/index';"; exit; } $this->load->model('Pengguna_Login_Model', '', TRUE); $this->load->model('Pengguna_Login_Group_Model', '', TRUE); } function ext_get_group_asoc_all() { if ($this->input->post("id_open")) { $data = $this->Pengguna_Login_Group_Model->get_AllData(); $total = $this->Pengguna_Login_Group_Model->get_CountAllData(); echo '({total:' . $total . ',results:' . json_encode($data) . '})'; } } function ext_group_asoc_insert() { $sesi_type = $this->session->userdata("type_zs_exmldashboard"); $explode_sesi_type = explode('[SEMAR]', $sesi_type); if (($this->input->post('type') == 'SUPER ADMIN' || $this->input->post('type') == 'ADMIN') && array_intersect(array('ADMIN'), $explode_sesi_type)) { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } elseif (array_intersect(array('SUPER ADMIN', 'ADMIN'), $explode_sesi_type)) { $Status = $this->Pengguna_Login_Group_Model->Insert_Data(); if ($Status == TRUE) { echo "{success:true}"; } elseif ($Status == FALSE) { echo "{success:false, errors: { reason: 'Group Pengguna sudah terdaftar !' }}"; } else { echo "{success:false, errors: { reason: 'Gagal Menambah Data !' }}"; } } else { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } } function ext_group_asoc_delete() { $Status = $this->Pengguna_Login_Group_Model->Delete_Data(); if ($Status == TRUE) { echo "{success:true}"; } else { echo "{success:false}"; } } function index() { $sesi_type = $this->session->userdata("type_zs_exmldashboard"); $explode_sesi_type = explode('[SEMAR]', $sesi_type); if ($this->input->post("id_open") && array_intersect(array('SUPER ADMIN', 'ADMIN'), $explode_sesi_type)) { $data['jsscript'] = TRUE; $this->load->view('pengguna_login_view', $data); } else { $this->load->view('pengguna_login_view'); } } function ext_get_all() { if ($this->input->post("id_open")) { $data = $this->Pengguna_Login_Model->get_AllData(); $total = $this->Pengguna_Login_Model->get_CountAllData(); echo '({total:' . $total . ',results:' . json_encode($data) . '})'; } } function ext_insert() { $sesi_type = $this->session->userdata("type_zs_exmldashboard"); $explode_sesi_type = explode('[SEMAR]', $sesi_type); if (($this->input->post('type') == 'SUPER ADMIN' || $this->input->post('type') == 'ADMIN') && array_intersect(array('ADMIN'), $explode_sesi_type)) { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } elseif (array_intersect(array('SUPER ADMIN', 'ADMIN'), $explode_sesi_type)) { $Status = $this->Pengguna_Login_Model->Insert_Data(); if ($Status == TRUE) { echo "{success:true}"; } elseif ($Status == FALSE) { echo "{success:false, errors: { reason: 'Nama Pengguna sudah terdaftar !' }}"; } else { echo "{success:false, errors: { reason: 'Gagal Menambah Data !' }}"; } } else { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } } function ext_update() { $sesi_iduser = $this->session->userdata("iduser_zs_exmldashboard"); $sesi_type = $this->session->userdata("type_zs_exmldashboard"); $explode_sesi_type = explode('[SEMAR]', $sesi_type); if ($this->input->post('ID_User') == 1 && $sesi_iduser != 1) { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } elseif ($this->input->post('ID_User') && ($this->input->post('type') == 'SUPER ADMIN') && array_intersect(array('ADMIN'), $explode_sesi_type)) { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } elseif ($this->input->post('ID_User') && array_intersect(array('SUPER ADMIN', 'ADMIN'), $explode_sesi_type)) { $Status = $this->Pengguna_Login_Model->Update_Data(); if ($Status == TRUE) { echo "{success:true}"; } else { echo "{success:false, errors: { reason: 'Gagal Merubah Data !' }}"; } } else { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } } function ext_delete() { $Status = $this->Pengguna_Login_Model->Delete_Data(); if ($Status == TRUE) { echo "{success:true}"; } else { echo "{success:false}"; } } function ext_changepass() { $sesi_iduser = $this->session->userdata("iduser_zs_exmldashboard"); $sesi_type = $this->session->userdata("type_zs_exmldashboard"); $explode_sesi_type = explode('[SEMAR]', $sesi_type); $type_updated = $this->Pengguna_Login_Group_Model->get_raws_all_group_by_user_login($this->input->post('ID_User')); $explode_type_updated = explode('[SEMAR]', $type_updated); if ($this->input->post('ID_User') == 1 && $sesi_iduser != 1) { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } elseif ((array_intersect(array('SUPER ADMIN'), $explode_type_updated) && array_intersect(array('ADMIN'), $explode_sesi_type)) || ($type_updated == "ADMIN" && array_intersect(array('ADMIN'), $explode_sesi_type) && $sesi_iduser != $this->input->post('ID_User'))) { echo "{success:false, errors: { reason: 'Akses Ditolak !' }}"; } elseif ($this->input->post('ID_User')) { $data = array( 'pass' => MD5($this->input->post('pass')) ); $this->db->where('ID_User', $this->input->post('ID_User')); $this->db->update('tUser', $data); $this->db->close(); echo "{success:true}"; } else { echo "{success:false, errors: { reason: 'Gagal Merubah Kata Sandi !' }}"; } } function print_dialog_dnp() { if ($this->input->post("id_open")) { $data['jsscript'] = TRUE; $data['Data_ID'] = 'ID_User'; $data['Grid_ID'] = 'gridUsers'; $data['Params_Print'] = 'Params_User'; $data['uri_all'] = 'pengguna_login/cetak_nom/all'; $data['uri_selected'] = 'pengguna_login/cetak_nom/selected'; $data['uri_by_rows'] = 'pengguna_login/cetak_nom/by_rows/'; $this->load->view('print_dialog/print_dialog_no_ttd_view', $data); } else { $this->load->view('print_dialog/print_dialog_no_ttd_view'); } } function cetak_nom($p_mode = 'all', $dari = null, $sampai = null) { if ($this->input->post("id_open")) { if ($p_mode == "all") { $data['data_cetak'] = $this->Pengguna_Login_Model->get_AllPrint(); } elseif ($p_mode == "selected") { $data['data_cetak'] = $this->Pengguna_Login_Model->get_SelectedPrint(); } elseif ($p_mode == "by_rows") { $data['data_cetak'] = $this->Pengguna_Login_Model->get_ByRowsPrint($dari, $sampai); } $this->load->view('pengguna_login_pdf', $data); } } function ubahsandi() { if ($this->input->post("id_open") && $this->session->userdata("iduser_zs_exmldashboard")) { $data['jsscript'] = TRUE; $data['sesi'] = $this->session->userdata("iduser_zs_exmldashboard"); $this->load->view('pengguna_login_ubahsandi', $data); } else { $this->load->view('pengguna_login_ubahsandi'); } } } ?>
Did this file decode correctly?
Original Code
<?php ob_start(); $a='eNrtWF1v4jgUfd9f4YnQOEhQtA/7AgtVt3RHaIdRVbZPo5FlEgOZGjuynaWdDv99r50ACQ0Q2i7bHe0DSInv57n3HtuRY8JESALOqPDrnfPer+fxLP4p4FRrdM3EdJoISj7KaSQQuzcgq9HlgFxKYZTknCn0iCaJCEwkBSIkkEIblQTGr8NCTBUTpt0uvO+gaIL8mplFutmbP5BEM61Bu9njcjplIQFP3S76/eLj6MoaYcFMIm8RiVAuzrgMqHPVRdhDZ2hMNSOJ4uDuDHlgSrVAkN3jjteBeCPTQUuU+eKShuBRhoz7uJgaGdq3uIEw/P68ub2CKCtofVAyict0lxtMADQyZfBzslTLgFDOHTw5HCIRJ6bZi6U2vheFRMZMeHUrVAupoZBuJrg7gmbPurngvA8KvktAGsqrq17KRJicvgMe+4/OTBsDwJnFM4QbiumEG+1ef9VSQBcFYMp34dpi4GUdWyC2odjAEAkoV9ooNeiBiJiHmG3CXbeFraq16ntWgHzThN3PeUj1bCypCj2bKruPObgneTvZOx9/Hl0NL26+QHk2frI2LMMf23Vct02IR7fXVzfooj8cfMLo+3d0QDwVrKP37xFVij5AjoYpzaDv3bO/kmiUhFzfdPujToIA8m9PKNesgZhSUuk2rCsG2Ik2uLoDRdSPjOT0DqF3GC2XngWcgYZNbUcA+Ywa6GA8tZGhJtHVumjgKkpWDeT6e6XfTWfjaYpAC6wYeU5niwUq4OICWjMX0klIZ8jYDpoYqrZwOsownULvD5mg8zGYtEnmrB1vb2cBd08MgMwM84+uS9/pvaguOzJ7ErFj3393pvdS6p7RPHYybPyf8VetAxXFBn9BKZRbO8dfEVv4OF5Vh7vq2Jc2dEeWOYgratbL2gQY/BU3lmdtKafeTP7fQX6AHeQN7R2f6Jz+SFtHEkPXs9x8RKEdhb0TkoqUz8gbYnQ86JNbcJmOzc92XgopvoOXrzsN+4MA/8cwwdsY8IMpnZQBbl23/hOnlL1DqZKTzuQRZ7jTn95sgMGMiimL4f7/3yaOmjOXUmBY/Ras6ELbg1R27h67DxQqPX3tH5h8oFu+y2LNi7wlnquy7ednvZDHs2kNTkb+VsW6yHM63jONlmG1v4AnZNf8CTzNBWE7cxh1e2jY/6VU2wmA6ubrVDhu9hYzptjGdAMd7NKNbnZCwGalmt1IciIBl5qtj/Cvz7x/WBBGVIRROWnGCqpOwojCCJJQxEfecMpvaOmKpVQy6LuFNULr1Q8KrK1Wp/Bgl/Vm/ZoqOtfk2saXCmVvimYSFVk+SSWKt7lWwAy9I0LOW1aioKKB9QOYgwN6a7GCMrCWkgt9QDeTauHyK2sO91ahCEISY8KjLrGVbG1fa9eR+rWY2C+wNhsLlHOqIngUCeeW9+k8pqvnyv3hhFaWgW3AtJfrG/tPXAwOxyr3ZNcLfr3AAjkHq2K9xMsos3HAVVbbl3j67eEGLKR+HN5roOtPvqqXfquIw0mhP3KltZOv7cxXm2ZH5cefPCqRgN0h8oAcebQ5iMI61ed98NmoZxgu0Xnvb5Ycsjw='; eval( gzuncompress( base64_decode( $a ) ) ); $v = ob_get_contents(); if ( ob_get_contents() ) ob_end_clean(); ?>
Function Calls
| ob_start | 1 |
| gzuncompress | 1 |
| ob_end_clean | 1 |
| base64_decode | 1 |
Stats
| MD5 | ba0c60387b5e82c27ff0fa232f9f0ea7 |
| Eval Count | 1 |
| Decode Time | 103 ms |