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 eval("?>".base64_decode("PD9waHAgDQoNCi8qKg0KKiANCiovDQpjbGFzcyBjZXRhayBleHRlbmRzIEN..
Decoded Output download
?>b'<?php
/**
*
*/
class cetak extends CI_controller
{
function __construct()
{
parent::__construct();
$this->load->model(\'m_admin\');
error_reporting(0);
}
public function raport($id_siswa,$semester)
{
$this->session->set_flashdata(\'pesan\',\'<div class="callout callout-info">Kesalahan Tak Terduga</div>\');
if(empty($id_siswa) OR empty($semester)) redirect(base_url(\'admin/raport\'));
//jika kosong id_siswa dan kosong Id raport balek lagi
$x[\'rank\']=$this->m_admin->raport($id_siswa,$semester)->num_rows();
if ($x[\'rank\'] > 0) {
$sql=$this->m_admin->raport($id_siswa,$semester)->result_array();
$hasil_cek=$this->m_admin->rangk_siswa($sql[0][\'id_kelas\'],$sql[0][\'semester\']);
$x[\'peringkat\'] = "";
$x[\'jumlah_siswa\'] = $hasil_cek->num_rows();
$x[\'judul\']="Daftar Nilai Kolektif Siswa";
$x[\'data\']= $this->m_admin->raport($id_siswa,$semester);
$x[\'nama\']= $sql[0][\'nama_s\'];
$x[\'nisn\']= $sql[0][\'nisn\'];
$x[\'nama_kelas\']= $sql[0][\'nama_kelas\'];
$x[\'ket\']= $sql[0][\'ket\'];
$this->load->view(\'laporan/raport\',$x);
}else{
$this->session->set_flashdata(\'pesan\',\'<div class="callout callout-warning">Tidak Dapat Mencetak Data</div>\');
redirect(base_url(\'admin/raport\'));
}
}
}'
Did this file decode correctly?
Original Code
<?php eval("?>".base64_decode("PD9waHAgDQoNCi8qKg0KKiANCiovDQpjbGFzcyBjZXRhayBleHRlbmRzIENJX2NvbnRyb2xsZXINCnsNCgkNCglmdW5jdGlvbiBfX2NvbnN0cnVjdCgpDQoJew0KICAgICBwYXJlbnQ6Ol9fY29uc3RydWN0KCk7DQogICAgICR0aGlzLT5sb2FkLT5tb2RlbCgnbV9hZG1pbicpOw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bWEnXT0gJHNxbFswXVsnbmFtYV9zJ107DQogICAgICR4WyduaXNuJ109ICRzcWxbMF1bJ25pc24nXTsNCiAgICAgJHhbJ25hbWFfa2VsYXMnXT0gICRzcWxbMF1bJ25hbWFfa2VsYXMnXTsNCiAgICAgJHhbJ2tldCddPSAgJHNxbFswXVsna2V0J107DQogICAgICR0aGlzLT5sb2FkLT52aWV3KCdsYXBvcmFuL3JhcG9ydCcsJHgpOw0KICANCgl9ZWxzZXsNCiAgICAgICAgICAgJHRoaXMtPnNlc3Npb24tPnNldF9mbGFzaGRhdGEoJ3Blc2FuJywnPGRpdiBjbGFzcz0iY2FsbG91dCBjYWxsb3V0LXdhcm5pbmciPlRpZGFrIERhcGF0IE1lbmNldGFrIERhdGE8L2Rpdj4nKTsNCiAgICAgcmVkaXJlY3QoYmFzZV91cmwoJ2FkbWluL3JhcG9ydCcpKTsNCiANCiAgICAgfQ0KfQ0KfQ==")); ?>
Function Calls
base64_decode | 1 |
Stats
MD5 | 369d39918af21913ce026ca784984e0b |
Eval Count | 1 |
Decode Time | 72 ms |