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"; include "ubahdata.php"; $nnama=cegah($_POST['nama']); $angka=mysqli_query($kon,"select MAX(id_kelas) as tertinggi from kelas"); $o=mysqli_fetch_array($angka); $idkelas=$o['tertinggi']+1; $tg=mysqli_query($kon, "select nama_sekolah from sekolah where id_sekolah='1'"); $el=mysqli_fetch_array($tg); $ekotimo='ganteng'; $cekkelas=mysqli_query($kon,"select * from kelas where id_kelas='$idkelas'"); $find=mysqli_num_rows($cekkelas); $unikbanget=sekolah($el['nama_sekolah'], 'e'); $kko=mysqli_query($kon, "select data from pdf");$kl=mysqli_fetch_array($kko);$has=$kl['data']; if($unikbanget != $has){ echo "<script>;window.location='blokir.php'</script>"; } if ($find>0){ }else{ mysqli_query($kon,"INSERT INTO kelas(nama_kelas, id_kelas) VALUES ('$nnama','$idkelas')")or die ("Query Gagal ".mysqli_error()); } echo "<script>;window.location='home.php?state=kelas'</script>"; } ?>

Did this file decode correctly?

Original Code

<?php session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo "
            
    <\154\151\x6ek \162e\154='\163t\171\x6c\x65s\150\x65\145t' \150\162\145\146='\x63ss/n\157\x72\155a\154i\172e.c\163\x73'>
    <\154\x69n\x6b \x72el='\163t\x79\x6ce\x73\150\x65e\164' \x68\x72\145\x66='\143s\x73/\142\x6fo\164str\141\160.\143\163\x73'>
    <\x6c\151\x6e\153 \x72el='\x73\x74\x79\x6c\x65\x73h\x65et' \150\162\x65\x66='\x63\x73\163/f\157\156t-aw\145s\157m\x65.m\x69\x6e.cs\x73'>
    <\154\x69\x6ek r\145\154='\x73tyle\163\150e\145t' \150\x72\145f='\143s\163/\163\164y\154\145.\x63s\x73'> 
            
            
                <\x64\x69\x76 c\154\x61\x73\x73='\143o\x6c-\x73\155-12'>
                <\x64\151\x76 \143\x6cas\x73='\x61\x6c\145\162\164  al\x65\x72\164-\x64\x61\x6eg\145\162 \x61\154e\x72\x74-di\163\x6di\x73s\x69b\x6ce f\141de \163how' r\157l\x65='a\x6cer\x74'>
                  <\x73\x70an \x63l\x61s\163='\x62\141\144\147e \142a\x64\147\x65-\160\x69\x6cl \142a\x64\x67e-\144\x61\156ge\162'>\x47\141\x67a\154</s\x70a\x6e> \101\x6e\x64a \124\151\144\x61\x6b B\151s\x61 Ak\x73\145\163 H\x61\x6c\x61ma\156 \111\x6e\x69 \124\141\156p\x61 \x4c\x6fg\x69\x6e!
                    <\142utt\x6f\x6e \x74y\x70\145='b\165\164\x74\157\156' \x63\154a\x73\x73='\143\154os\145' \x64a\164\x61-\144\151\163\155i\x73\163='\141l\x65\x72\164' \141\x72ia-la\142\x65\x6c='\x43l\x6f\x73\145'>
                        <\x73\160\141\x6e \141\162i\x61-\150\x69\144\x64\145n='t\162ue'>&\164im\145s;</\163\x70a\156>
                    </\x62ut\164o\x6e>
                </\x64i\x76>
            </div>
      <\x64iv \143\x6c\141ss='\x63\x6fl-\x73m-12'>
      <\x64\x69v cla\163s='\143\x61\x72d-fo\157t\145r'><a \150r\145\146='\151\156d\145\170.p\x68p'>
                        <\x62\165\x74\x74on t\171p\x65='\x62u\x74\x74\157\156' \x63l\141s\x73='\142tn \x62tn-p\162\x69\155a\162y b\164n-\x62\154\157\x63\153'>
                          <i clas\163='\146a \146\x61-d\x6ft-\x63i\162\143\154\145-\157'></\151> \114o\147\151\x6e
                        </\142\x75tt\157n></a>
            

            "; }else{ include "k\x6fn\145k\x73i.\160\150\160"; include "\141n\164i.p\x68p"; include "\x75\142a\x68\144\x61\164\x61.\x70\x68\x70"; $nnama=cegah($_POST['nama']); $angka=mysqli_query($kon,"sel\145\x63t \115\101X(id_\153\145las) \x61\163 t\145\x72t\151\156g\147\151 f\162\x6f\x6d \153e\x6cas"); $o=mysqli_fetch_array($angka); $idkelas=$o['tertinggi']+1; $tg=mysqli_query($kon, "\163e\x6c\x65\x63\164 \156ama_s\x65\153olah f\162\157\155 se\x6b\157\154\x61h \x77\150e\x72e id_s\x65k\x6f\x6c\141\150='1'"); $el=mysqli_fetch_array($tg); $ekotimo='ganteng'; $cekkelas=mysqli_query($kon,"\163e\154\x65\143\x74 * \x66\x72\x6f\155 k\x65\154a\x73 \167\150\145\162\145 \151\x64_\153\145la\163='$idkelas'"); $find=mysqli_num_rows($cekkelas); $unikbanget=sekolah($el['nama_sekolah'], 'e'); $kko=mysqli_query($kon, "\x73e\154\x65\x63\x74 \x64\141t\141 \x66r\157m \160df");$kl=mysqli_fetch_array($kko);$has=$kl['data']; if($unikbanget != $has){ echo "<s\143r\x69\x70t>;w\x69\x6e\144\x6f\x77.l\x6fcat\151\x6fn='\142l\157k\x69\x72.p\150p'</\163\143\162\x69p\x74>"; } if ($find>0){ }else{ mysqli_query($kon,"INS\x45RT IN\124\x4f ke\x6c\141\163(n\141\x6d\141_k\145\154\x61s, \151\144_\x6b\x65\154\141\163) V\x41\114\125ES ('$nnama','$idkelas')")or die ("\x51\165\x65r\171 \x47ag\x61\154 ".mysqli_error()); } echo "<\x73\143\162ipt>;wi\x6e\144\157\167.\154o\x63\141t\x69\x6f\156='h\157m\145.\x70\150\160?\x73\x74ate=\153el\x61s'</\163\143\x72\x69\x70\164>"; } ?>

Function Calls

session_start 1
error_reporting 1

Variables

None

Stats

MD5 1e47f7d707b7cc9dde285322c006e753
Eval Count 0
Decode Time 63 ms