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 session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo " ..

Decoded Output download

<?php session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo " 
             
    <link rel='stylesheet' href='css/normalize.css'> 
    <link rel='stylesheet' href='css/bootstrap.css'> 
    <link rel='stylesheet' href='css/font-awesome.min.css'> 
    <link rel='stylesheet' href='css/style.css'>  
             
             
                <div class='col-sm-12'> 
                <div class='alert  alert-danger alert-dismissible fade show' role='alert'> 
                  <span class='badge badge-pill badge-danger'>Gagal</span> Anda Tidak Bisa Akses Halaman Ini Tanpa Login! 
                    <button type='button' class='close' data-dismiss='alert' aria-label='Close'> 
                        <span aria-hidden='true'>&times;</span> 
                    </button> 
                </div> 
            </div> 
      <div class='col-sm-12'> 
      <div class='card-footer'><a href='index.php'> 
                        <button type='button' class='btn btn-primary btn-block'> 
                          <i class='fa fa-dot-circle-o'></i> Login 
                        </button></a> 
             
 
            "; }else{ include "koneksi.php"; include "anti.php"; $cekbox=$_POST['pil']; $guru=$_POST['guru']; $kodekelas=cegah($_POST['kodekelas']); $nkelas=cegah($_POST['kelas']); include "ubahdata.php";$tg=mysqli_query($kon, "select nama_sekolah from sekolah where id_sekolah='1'");$el=mysqli_fetch_array($tg);$tgf=$el['nama_sekolah']; $kko=mysqli_query($kon, "select data from pdf");$kl=mysqli_fetch_array($kko);$has=$kl['data'];$flkssl=sekolah($tgf, 'e');if($flkssl != $has){echo "<script>;window.location='blokir.php'</script>";} for ($i=0; $i<sizeof($cekbox); $i++){ $nama=mysqli_query($kon, "select * from anggota where id_anggota ='$guru[$i]' "); $rr=mysqli_fetch_array($nama); mysqli_query($kon, "UPDATE template SET id_guru='$guru[$i]'  
	  WHERE id_template='$cekbox[$i]'"); } echo "<script>;window.location='home.php?state=inputpelajaran&idkelas=$kodekelas&kelas=$nkelas'</script>"; } ?>

Did this file decode correctly?

Original Code

<?php session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo "
            
    <l\151\x6ek r\145\x6c='\163\164\x79l\145sh\145e\x74' \x68\162e\x66='c\x73\x73/\156o\x72\x6dali\172e.c\x73s'>
    <\154i\x6ek \x72\145l='\x73t\x79\x6c\x65sh\145\x65t' hr\145\146='\x63s\163/\x62\x6f\157\164\x73tra\x70.\143ss'>
    <\x6ci\156\x6b \162\x65l='\x73\x74\171\x6ce\163\150\x65e\164' h\162\x65\146='\143\163s/\146\x6f\x6e\x74-\x61\167\x65\163om\x65.\155\x69\156.c\163\x73'>
    <\154i\156\153 \162\x65\154='\163tyl\145\163h\145\145\x74' \150r\x65\x66='\x63\163s/st\171\x6ce.\x63ss'> 
            
            
                <d\151v \143\x6c\141\163\x73='\x63\x6fl-\163\x6d-12'>
                <\x64\151\166 \143l\x61\x73\163='\141le\162\x74  \141\x6c\145\162\164-\x64a\156\147\x65\162 a\x6c\x65\162\x74-\x64\x69\163\x6d\x69\x73s\x69\x62l\x65 \146\x61\144\x65 \163\x68o\x77' \x72o\154\x65='\x61\154e\x72\164'>
                  <\x73\160an \x63\154a\163s='\142adge bad\x67e-p\151l\154 \x62\141\x64\147\x65-\144a\x6e\147\145r'>\107\141g\x61l</\163pa\156> \101\x6eda \x54i\144a\153 Bis\141 A\153s\x65\163 \x48al\141\x6da\x6e \x49n\151 T\x61\156\160\x61 \x4co\147\151\x6e!
                    <\x62ut\164\157n t\x79\160\145='\x62\x75\164\x74\x6f\x6e' \143\x6c\x61\163\x73='c\154\157\x73\145' d\x61t\x61-\144\x69sm\151s\x73='\x61\154\x65r\164' a\x72\x69a-labe\154='\x43\154os\x65'>
                        <\x73p\x61n \x61\x72ia-\150i\x64\x64e\156='\x74\x72u\145'>&\164\x69m\x65s;</s\160\x61\x6e>
                    </\142\x75\x74\164\157\156>
                </\x64iv>
            </\x64\x69\166>
      <\144iv \143\x6c\141\163\163='\x63\157\154-sm-12'>
      <\144\151\x76 \x63l\141\163s='c\x61\x72\144-\146\x6fo\x74e\x72'><a \150\162\x65\146='i\156\144e\x78.p\150\160'>
                        <b\165\164\x74\x6f\x6e \164\171\x70e='\x62\165\x74t\157n' \x63\154\141\163\163='b\164n \x62tn-\x70\162\151ma\x72\x79 \142tn-b\154\157\143k'>
                          <\151 \143l\141\x73\163='f\141 \146\141-\144\x6ft-\143\151\162\143\x6c\145-o'></\151> L\157\147in
                        </\142\165\164\164o\x6e></a>
            

            "; }else{ include "\153\x6f\156\145\153\x73\x69.\160\150p"; include "a\x6e\x74i.\x70\x68p"; $cekbox=$_POST['pil']; $guru=$_POST['guru']; $kodekelas=cegah($_POST['kodekelas']); $nkelas=cegah($_POST['kelas']); include "\x75\142a\x68\x64\x61\164\x61.php";$tg=mysqli_query($kon, "\x73\145\154\x65\143t \x6ea\155\141_se\153\157l\141\x68 \146\162om se\x6b\157\x6c\x61h \167\150\x65\x72e id_\163\145\x6b\157\154\x61\x68='1'");$el=mysqli_fetch_array($tg);$tgf=$el['nama_sekolah']; $kko=mysqli_query($kon, "\x73\x65\154\x65ct d\x61\164\141 f\x72o\155 p\144f");$kl=mysqli_fetch_array($kko);$has=$kl['data'];$flkssl=sekolah($tgf, 'e');if($flkssl != $has){echo "<s\143\x72\151p\x74>;\167\x69\156\x64o\167.l\157c\141\164i\157\x6e='\142lo\x6b\x69\162.\x70\x68\160'</s\143r\x69\x70\x74>";} for ($i=0; $i<sizeof($cekbox); $i++){ $nama=mysqli_query($kon, "\x73\x65le\x63\x74 * fr\x6f\x6d \141\x6eg\x67\157t\141 wh\x65\162\x65 \151d_\141\156\147g\157\164\141 ='$guru[$i]' "); $rr=mysqli_fetch_array($nama); mysqli_query($kon, "U\x50\x44A\124\x45 \x74\x65mp\154\x61\164\x65 \123ET \151\144_\147\x75ru='$guru[$i]' 
	  WH\105\x52\x45 \x69\x64_\x74\145\x6dp\154\x61te='$cekbox[$i]'"); } echo "<s\x63\x72i\x70t>;w\x69n\x64o\167.\154\x6f\x63\141\164\151\x6f\156='\x68\x6f\155e.ph\160?s\x74at\x65=\x69npu\164\160\x65\154\x61j\x61ran&\x69\144\x6b\x65\154\x61\x73=$kodekelas&\153\145\x6ca\163=$nkelas'</sc\x72\x69\160\164>"; } ?>

Function Calls

session_start 1
error_reporting 1

Variables

None

Stats

MD5 1bddd4a6913529b8821b46157d8e7710
Eval Count 0
Decode Time 34 ms