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"; $hasil=cegah($_POST['kirim']); $data=mysqli_query($kon, "select * from kelas where id_kelas='$hasil' "); $ee=mysqli_fetch_array($data); $kelas=$ee['nama_kelas']; echo " 
 <link rel='stylesheet' href='css/datatable/dataTables.bootstrap.min.css'> 
	 
 <br><br> 
  
<div class='card'> 
                    <div class='card-header'> 
        	<i class='mr-2 fa fa-align-justify'></i> 
                         
						 
											 
                    </div> 
                    <div class='card-body'> 
 
                        
		   
		  <script src='js/jquery.selectable-list.js' type='text/javascript'></script> 
 <script> 
 $(function(){ 
            $('table').selectableList(); 
        }); 
</script> 
<form method='post' action='naikkelas.php'> 
		   
		 <table id='bootstrap-data-table' class='table table-striped table-bordered'> 
                    <thead> 
				 
			<tr><th><input type='checkbox' id='checkall'/></th><th>No</th><th>Nama</th><th>NIS</th><th>Kelas</th></tr> 
				</thead>  
				<tbody>"; $asq=mysqli_query($kon, "select * from siswa where kelas='$kelas'"); $no=1; while($b=mysqli_fetch_array($asq)){ echo "		<input type='hidden' name='txtkelas' value='$b[kelas]'> 
			<tr><td><input type='checkbox' value=$b[nis] name='pil[]'></td><td>$no</td><td>$b[nama]</td><td>$b[nis]</td><td>$b[kelas]</td></tr>"; $no++; } echo "		  
		    
			</tbody>    
            </table> 
		<div class='card-footer'> 
                   <button type='submit' class='btn btn-primary btn-sm'><i class='fa fa-cogs'></i> &nbsp Naik Kelas / Lulus 
                        </button> 
			</div> 
			</form> 
 		</div> 
        </div> "; } ?>

Did this file decode correctly?

Original Code

<?php session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo "
            
    <\x6ci\156k \162\x65l='st\171l\x65s\150\x65\145t' \x68\x72e\x66='\x63\163s/\x6eo\x72m\141l\x69z\145.cs\163'>
    <\154\x69\x6ek rel='\163\164\x79\154\145s\150\x65\x65\164' h\162\x65\x66='\143ss/\142\157\157\164s\164\x72\141\160.\143\163s'>
    <l\151\x6e\x6b \x72\x65l='s\164\171le\163h\x65\145\x74' \x68\162\145\146='cs\163/fo\x6e\x74-a\x77es\157\x6d\145.\x6d\151\x6e.css'>
    <l\x69\156k r\145\x6c='\x73\x74\x79\x6ce\163\150\x65et' \x68\162e\x66='\143\x73\163/\163\x74y\x6c\145.c\x73s'> 
            
            
                <\x64\x69\166 \x63\154a\163\163='\143\157\x6c-\x73m-12'>
                <div c\154\141ss='\141\154e\162\x74  al\x65\x72\x74-d\141n\147\x65\x72 \141\x6c\x65r\164-\x64\151\x73\155\151\163sib\x6ce \x66a\x64\145 \x73h\157\x77' r\x6f\x6c\145='\141\154\145\x72\164'>
                  <\163\160a\x6e \143\154\141\163\x73='\142\x61\x64g\145 b\x61\x64\147\x65-\160i\x6cl ba\144\147\145-d\x61\x6e\x67\x65r'>\x47\141g\141\x6c</\163p\141\156> And\141 \124\151d\141\x6b \102isa \101\153se\x73 Hal\141m\x61\x6e \x49n\x69 \x54an\x70\x61 \114o\x67\151\156!
                    <b\x75t\164\x6fn \x74y\160e='b\x75\x74\164\x6f\156' \143l\141s\163='c\154\157se' \144\141\164\141-\144\151\163\x6dis\x73='\x61le\162t' \x61\x72ia-\154\141\x62\x65\154='\x43l\x6f\163\145'>
                        <\x73\x70a\x6e a\162i\x61-\x68\x69\x64d\x65\156='\164r\x75\x65'>&\x74i\155es;</\163pa\x6e>
                    </\x62ut\164o\x6e>
                </\144i\166>
            </\x64\151v>
      <\144iv \143\x6c\141\163\163='\x63\x6f\154-s\x6d-12'>
      <\144\151\x76 c\154a\x73\163='c\141\x72\144-\146oot\145\x72'><\141 \150\x72\x65\x66='\151\x6e\x64\x65\170.\160h\x70'>
                        <b\x75\164t\157\156 \x74ype='\x62u\164\x74\x6f\x6e' \143\x6c\141s\163='bt\156 \x62\x74n-\160\162\151\x6da\x72\171 \x62\164\156-\x62\154\x6f\143\x6b'>
                          <i \x63\x6c\141\x73\x73='fa f\x61-d\x6ft-ci\162\x63\x6ce-o'></\x69> \x4c\157\147\x69n
                        </\x62\x75\164\164o\x6e></a>
            

            "; }else{ include "\x6b\x6fn\145\x6b\163\151.\160\x68\160"; include "a\x6eti.p\150p"; $hasil=cegah($_POST['kirim']); $data=mysqli_query($kon, "s\x65\x6c\145ct * \x66r\157m k\145\154\x61s \167\x68ere \151\144_k\145\154\x61s='$hasil' "); $ee=mysqli_fetch_array($data); $kelas=$ee['nama_kelas']; echo "
 <\154\151nk r\x65l='\x73t\x79\x6ce\x73h\145et' h\162\x65\146='\x63s\x73/d\141\x74\x61\x74\141\142l\145/\x64\141ta\x54\141\142le\163.\142o\x6f\x74\163\164ra\160.\x6d\151n.\x63\x73\163'>
	
 <\142\x72><b\x72>
 
<\144\151\166 \143\154a\163\163='\143\141\x72\144'>
                    <\x64\x69\166 cl\141ss='\143a\x72\144-\150\145\141\144e\x72'>
        	<\x69 \x63l\x61\x73\x73='m\x72-2 \146\x61 \x66\x61-a\x6ci\x67\x6e-j\165s\x74if\171'></\x69>
                        
						
											
                    </\144\151\x76>
                    <di\166 \143\x6c\x61\163\x73='\x63\x61\162\144-\x62\157d\171'>

                       
		  
		  <\x73\143\x72\151p\x74 \x73r\x63='j\x73/\x6a\x71\x75e\x72\171.\163e\x6ce\x63t\141\142\154e-\x6c\151\x73\x74.\x6a\x73' \164\171p\145='\x74e\x78t/j\x61\x76\141scri\160\164'></\163\x63r\151\160\x74>
 <s\x63\x72\151\x70\164>
 $(fu\x6ec\164ion(){
            $('ta\142\x6ce').\x73\x65\154\145\x63\x74a\142l\x65L\x69\163\164();
        });
</s\143r\x69pt>
<\146o\162\155 \x6d\x65\164\x68\157d='\x70\x6fst' ac\164i\x6f\x6e='n\141i\x6b\153\145\154\x61s.\160h\x70'>
		  
		 <t\x61bl\x65 \x69d='\142\157\x6fts\x74r\141p-d\x61t\x61-\x74\x61\x62le' cl\x61\163\163='t\141\x62\x6c\x65 \164a\x62\154e-s\x74\x72\151p\145\x64 ta\142\x6c\x65-\142orde\x72\x65d'>
                    <t\150\145\x61d>
				
			<\164\162><\x74\x68><\151\x6e\160\x75\164 \x74\x79p\145='\143\150\x65\143k\142o\x78' \151\x64='ch\x65\143k\x61l\x6c'/></\164\150><\164h>N\x6f</\x74h><\x74\150>N\x61\155\141</\x74\x68><\164\x68>NI\x53</\x74\150><\x74h>K\145\x6c\x61\x73</\164\150></tr>
				</\x74h\145\x61\x64> 
				<\164\x62od\171>"; $asq=mysqli_query($kon, "\163\x65\x6c\145ct * fr\157\x6d s\x69\163w\141 \167\150\x65r\145 \153\145\154\x61s='$kelas'"); $no=1; while($b=mysqli_fetch_array($asq)){ echo "		<\x69np\x75\164 t\x79\x70e='\150\x69d\x64e\156' \x6e\141m\x65='t\x78t\x6bela\163' \166a\x6c\165e='$b[kelas]'>
			<\x74\162><\164d><i\156p\165\164 \164\171\160\145='\x63\150\x65c\153\142\x6f\x78' \x76\141\154ue=$b[nis] na\155e='\160\151\154[]'></\164\x64><t\144>$no</\x74\144><td>$b[nama]</t\144><t\144>$b[nis]</\164d><td>$b[kelas]</\x74d></t\162>"; $no++; } echo "		 
		   
			</\164\x62od\171>   
            </\x74a\142\154\x65>
		<\144\151\x76 \x63\154as\x73='\143\141\x72d-\146\x6f\x6f\164e\162'>
                   <\142\165t\x74on \x74y\160\x65='\x73\x75\142\x6d\151\x74' \143\x6c\141\x73\x73='\x62\164\x6e \142\164\x6e-\160\162\x69ma\x72y bt\156-s\x6d'><\151 \143\154\141\x73s='\x66\x61 \146\141-\x63\157g\163'></\151> &n\142s\x70 \116\141\x69\x6b \113\x65\x6c\141s / L\x75\154us
                        </b\165\164to\x6e>
			</d\x69\x76>
			</\146\x6f\162\x6d>
 		</\x64\151\x76>
        </di\166> "; } ?>

Function Calls

session_start 1
error_reporting 1

Variables

None

Stats

MD5 c6c498416c69eda383bd93f7350aebe3
Eval Count 0
Decode Time 60 ms