Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

p session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo " ..

Decoded Output download

<?  p 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"; $id = cegah($_POST['rowid']); $swq=mysqli_query($kon,"select * from kelas where id_kelas='$id'"); $r=mysqli_fetch_array($swq); echo "  
  <form action='updatekelas.php' method='post' class='form-horizontal'> 
                           
<input type='text' id='text-input' name='id_kelas'  class='form-control' value='$r[id_kelas]' hidden> 
			   <div class='row form-group'> 
                            <div class='col col-md-3'><label for='text-input' class=' form-control-label'>Nama Kelas</label></div> 
                            <div class='col-12 col-md-9'><input type='text' id='text-input' name='nama_kelas'  class='form-control' value='$r[nama_kelas]'><small class='form-text text-muted'></small></div> 
                          </div> 
 
 
			 
 
		 
  
 
 
  
 
 
                     
		    
		   <div class='card-footer'> 
                   <button type='submit' class='btn btn-primary btn-sm'><i class='fa fa-save'></i> Simpan 
                        </button> 
					 
                       </form>    
                      </div>		 
 
  
   
"; } ?>

Did this file decode correctly?

Original Code

p session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo "
            
    <li\x6ek r\145\154='st\171l\145\x73he\x65t' h\x72\x65f='c\x73\x73/n\157\x72\155\141l\151\172e.\143\x73\x73'>
    <\154i\156\x6b \x72\145l='\x73\x74\x79\x6c\145\163h\145\145t' \150r\x65\x66='\x63ss/\142\x6f\157\164\163t\x72\141p.\143\163\163'>
    <\x6cin\x6b \x72e\x6c='\x73t\171\154\x65s\x68\145\145\x74' h\x72\145f='\x63\x73\163/\146\x6f\156\164-\141w\145\163\x6fm\145.\x6din.\143\x73\x73'>
    <\154ink \162e\x6c='\x73\164\171\154e\163\x68e\145\x74' h\x72\145f='cs\x73/\x73tyle.\143\163\163'> 
            
            
                <di\x76 \x63\154\x61\163\163='c\x6f\154-s\x6d-12'>
                <\144\151v \143l\x61ss='\x61\154\x65rt  \x61ler\164-\144\141\x6e\x67\x65\x72 \x61l\x65r\x74-\x64i\x73m\151\163\163ib\154e \146ade \163\x68\x6fw' r\x6fl\145='\141\x6c\145rt'>
                  <\163\x70\141\156 c\x6c\141\163\x73='\x62\x61\x64\x67e \x62\141dge-pi\154l \142\141\x64\147e-d\141\156\147\145\x72'>\107a\x67al</\x73p\141\x6e> \x41\156\144\x61 \x54idak Bi\163a \x41\x6bs\145s H\141\154\x61\155\x61\x6e I\x6e\151 \124\141\x6e\160a \x4c\157gin!
                    <but\x74on \x74y\x70\145='\x62\x75tt\157\156' c\x6c\141\163\163='\x63\x6cos\145' \x64\x61\164\141-\x64\x69\x73m\151s\163='\x61\x6c\x65\162t' \141ria-l\x61\x62\145l='\x43lo\163e'>
                        <\163pan a\x72\151\x61-h\x69\144\144e\x6e='\164\162\x75\x65'>&\164\x69m\x65\x73;</\x73\x70a\156>
                    </\x62utt\x6f\156>
                </\x64\151v>
            </\144iv>
      <\144\x69v c\x6ca\x73\163='c\157l-\x73m-12'>
      <\x64i\166 \143\154a\163\x73='\143\141\162\144-f\157\157\164e\x72'><\141 \150r\145f='\x69\156d\145x.\x70\x68p'>
                        <\142\x75\x74\x74o\x6e t\x79\x70\145='\142u\x74\164o\x6e' \x63\x6ca\163s='\142\x74n \142\164\x6e-\160\162\x69\155a\x72\171 \x62\x74n-b\154o\143\x6b'>
                          <i \143l\x61s\163='\x66a fa-\144\x6ft-\143\x69r\143le-\157'></i> Logi\156
                        </\x62u\164\x74\157\x6e></a>
            

            "; }else{ include "\x6b\157\156ek\x73i.\x70\150\x70"; include "\141n\164\151.\160h\160"; $id = cegah($_POST['rowid']); $swq=mysqli_query($kon,"\163\145\x6ce\x63\164 * f\x72o\155 ke\x6c\x61s w\150e\162\x65 i\144_\153e\x6cas='$id'"); $r=mysqli_fetch_array($swq); echo " 
  <\x66\157r\155 \x61ct\x69o\x6e='u\x70\144a\x74\x65\x6bel\141\163.p\x68p' \x6det\x68\157\x64='\160\157\163\x74' \143l\141\x73\163='\146\x6fr\x6d-\x68o\162\x69\x7a\157\156t\x61l'>
                          
<\x69\x6e\x70\165\x74 \164\x79\x70\145='t\x65\x78t' \151\144='\164e\170t-in\160\165\x74' n\141\x6d\145='\x69\x64_\x6b\x65\154\x61\163'  \143l\141s\163='f\157\162\x6d-\x63\x6fn\164r\157\x6c' \x76a\x6c\x75\145='$r[id_kelas]' hi\144\x64e\x6e>
			   <d\x69v c\154a\163\x73='\x72o\167 \146or\155-\x67r\157\x75p'>
                            <\x64\x69\166 \143\x6c\141\163\x73='\143\157l \x63\x6f\154-\155\x64-3'><\154\141b\145\x6c \x66\x6f\x72='\x74e\170t-\x69\x6ep\165\164' \x63\154\141ss=' \146\x6f\x72\155-\x63\157\156\164ro\x6c-\x6ca\x62e\x6c'>\116\x61m\x61 Ke\154a\x73</l\141b\x65l></\144\151\x76>
                            <d\x69\x76 \143\154\141s\x73='c\157\154-12 \x63\157l-\x6d\144-9'><in\x70\165\164 \164y\x70\145='\x74\145\x78\x74' \151d='t\x65\170\164-\151\156\160ut' \156\x61m\145='n\141\155\141_\x6be\x6c\141s'  cl\x61\163\163='\x66o\162m-\x63ontr\157\154' v\x61lu\145='$r[nama_kelas]'><s\x6d\141l\x6c \143l\x61\163\163='\146orm-\x74e\170t t\x65xt-\x6du\x74\145\144'></\x73\x6d\141\x6c\x6c></di\x76>
                          </\144\x69\166>


			

		
 


 


                    
		   
		   <\144\x69\166 cla\163\163='\x63\141\162d-\x66\x6fote\162'>
                   <\x62u\164\164\x6f\x6e t\x79\160\145='s\x75\142\x6dit' \x63l\141\163\163='\x62\164\156 \142\x74\x6e-p\x72\151\x6d\141\x72\x79 \x62\x74\156-\163\x6d'><\x69 \x63l\141s\163='f\x61 \146a-\163\x61\166\145'></\151> Si\x6d\160a\x6e
                        </\x62u\164\164\157\156>
					
                       </f\157\x72\x6d>   
                      </d\151\166>		

 
  
"; } ?>

Function Calls

None

Variables

None

Stats

MD5 02ff0c4dcaeb798be654a0307ae46b85
Eval Count 0
Decode Time 47 ms