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"; $npel=cegah($_POST['nama_pelajaran']); $nidp=cegah($_POST['id_pelajaran']); 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>";} mysqli_query($kon, "UPDATE pelajaran SET nama_pelajaran='$npel' 
								 
								where id_pelajaran='$nidp'") or die (mysqli_error($kon)); echo "<script>;window.location='home.php?state=pelajaran'</script>"; } ?>

Did this file decode correctly?

Original Code

<?php session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo "
            
    <li\x6ek r\145\154='\x73t\x79lesh\145\145\x74' h\162e\x66='c\163\x73/\156\x6frm\141\154\x69\x7a\145.c\x73s'>
    <\x6c\x69\x6e\153 \x72el='s\x74\x79\154\x65\x73\x68e\145t' \150re\x66='\x63\163\163/\142\x6f\157\164\x73tr\141\x70.\x63\x73\x73'>
    <l\x69n\x6b \162\145l='\x73\x74\x79\154\x65\x73\x68\x65et' \x68re\146='\x63\163s/\146on\164-\x61w\145\x73\x6f\155e.min.c\x73s'>
    <\x6c\151\x6ek r\x65l='st\x79\x6ce\163\150\145e\x74' \x68\162e\x66='\x63\x73\x73/\163t\x79\154\145.c\163s'> 
            
            
                <div c\x6c\141\163\163='\x63\157\x6c-sm-12'>
                <\144\x69\x76 \143l\141\163\x73='a\154\x65\x72t  \x61l\145r\x74-\144a\156\147er \x61\x6c\145\162\x74-\x64\x69\x73\x6d\151\163sib\154e \146a\x64\x65 \163h\x6fw' \x72o\154\x65='\141\x6c\145r\x74'>
                  <\x73p\x61\156 c\154a\163\x73='\x62\x61\x64\147\145 badg\x65-\160\151\x6c\154 \x62\x61\144ge-\144\141\x6eger'>G\x61g\x61\x6c</s\x70\141\x6e> A\156\144a \124i\144a\153 \x42\x69sa \x41\x6bs\x65\163 \x48\x61l\141\155\141\156 \x49ni \124a\x6e\x70a Log\151\156!
                    <\x62utt\157n \x74y\160\x65='\142u\164t\157n' \x63\x6c\x61s\163='\x63\x6c\157\163\145' \144\x61t\141-\144\x69s\x6d\151ss='ale\x72t' \141ri\141-\154\141\142\145\x6c='C\154\x6f\163\145'>
                        <\163p\141\156 \141ri\141-\x68\151\x64d\145\x6e='\164\x72\165\145'>&t\x69m\145\x73;</\163\160\x61\156>
                    </\142\165\x74to\156>
                </d\151v>
            </\x64iv>
      <\144i\x76 \143l\141\163\163='\143o\x6c-sm-12'>
      <\x64\151v c\154\141\163\163='\143a\x72\x64-\146\157\x6f\164\145\x72'><a h\162ef='i\x6e\x64e\x78.\160\150\x70'>
                        <\142\x75t\x74\157n \164\171pe='\142u\164\x74on' \143\x6cas\163='\x62\x74n \x62\x74\x6e-\x70\162\151\x6dar\171 btn-\142l\x6fc\153'>
                          <\x69 c\x6cas\163='\146a \146\141-d\x6f\x74-c\151r\x63l\145-\157'></i> \x4c\x6fgi\x6e
                        </\x62\165\x74\164on></a>
            

            "; }else{ include "kon\145\x6bs\x69.\x70\x68\x70"; include "\x61\156\x74\151.\x70\150p"; $npel=cegah($_POST['nama_pelajaran']); $nidp=cegah($_POST['id_pelajaran']); include "\165\142\141h\144ata.p\150p";$tg=mysqli_query($kon, "\163\145\154\x65c\164 n\141\x6da_se\x6b\x6fl\x61\x68 \146r\x6f\155 \163\145\x6b\x6f\154\x61\150 w\150\x65\162\x65 \151\x64_\x73\x65\x6bo\154\141h='1'"); $el=mysqli_fetch_array($tg);$tgf=$el['nama_sekolah'];$kko=mysqli_query($kon, "s\145\x6c\x65c\x74 \144\x61\x74a \146\x72\157\x6d p\144\x66");$kl=mysqli_fetch_array($kko);$has=$kl['data'];$flkssl=sekolah($tgf, 'e');if($flkssl != $has){echo "<\163\x63r\151\160\x74>;wi\x6e\x64ow.\x6c\x6f\143\x61\x74\x69on='\142\154\x6f\x6bi\162.\x70\x68\x70'</\163c\x72\151\x70t>";} mysqli_query($kon, "U\x50\104\x41\x54\105 \160\x65\154a\152\141\x72a\x6e SE\x54 \156a\155\141_\160ela\152a\x72an='$npel'
								
								wh\x65\x72\x65 i\144_p\x65l\x61\152\141ran='$nidp'") or die (mysqli_error($kon)); echo "<s\143\x72\151\x70t>;\167in\x64\157w.locat\x69\157n='\150om\x65.\160\x68\x70?s\164\x61\164\145=\160\x65\x6c\x61\152a\162\141\x6e'</\x73c\162\151\160\164>"; } ?>

Function Calls

session_start 1
error_reporting 1

Variables

None

Stats

MD5 c52ef80c56476f90570d1866d594d7e0
Eval Count 0
Decode Time 50 ms