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"; $idnya=cegah($_GET['hNi']); $nnn=balik($idnya); $carimateri=mysqli_query($kon, "select * from ruangbelajar where id_ruangbelajar='$nnn' "); $b=mysqli_fetch_array($carimateri); date_default_timezone_set('Asia/Jakarta'); $jam_menit=date("H:i"); $arr = explode(":", $jam_menit); $waktunya=$arr[0] * 60 + $arr[1]; $bulan=date("Y-m-d"); $waktu=date("H:i:s"); $tgljam=date("Y-m-d H:i:s"); mysqli_query($kon, "INSERT INTO tempatabsen(id_anggota,tanggal_jam,tanggal,jam,bayangan,id_materi,sebagai) VALUES ('$b[id_guru]','$tgljam', '$bulan' , '$waktu', '$waktu','$nnn','guru')") or die (mysqli_error($kon)); echo "<script>;window.location='home.php?state=masukkelas&hNi=$idnya'</script>"; } ?>

Did this file decode correctly?

Original Code

<?php session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo "
            
    <\154\151\156\153 r\x65\154='\x73t\171\x6c\x65\x73\x68\145\x65t' \150ref='\143\163\163/\156\157\x72\x6d\x61l\x69\x7ae.\143s\x73'>
    <\154\151nk \162\x65\154='\x73\164\171\154\145s\x68e\145\164' \x68\162\x65\146='cs\x73/\142o\157\x74\x73t\x72\x61\160.cs\163'>
    <\154\x69n\153 \x72\145\x6c='s\x74yl\x65s\x68e\145\x74' \x68\x72\145\146='\x63\x73s/\146\157\x6e\164-a\167\x65\163\157\155\145.\155\151n.\x63\163s'>
    <\154\x69\156k \x72\x65\154='\163\164y\x6c\145s\x68e\x65\164' \x68re\x66='\x63ss/s\164\171l\x65.\143s\163'> 
            
            
                <d\x69v c\x6ca\163\163='c\x6fl-sm-12'>
                <\x64\151v cl\x61s\x73='\141l\145r\x74  \x61\x6c\145\162\164-da\156\x67\145\162 a\154\x65rt-\x64\x69s\155\151\163\163\151\142le f\x61\144\x65 \163\x68o\x77' \x72\157l\x65='\141\x6c\145\162t'>
                  <\163\x70a\x6e \143\x6c\141\163\x73='\142\141\144\147\x65 \x62\141\x64\x67\145-\160i\x6c\154 \142\x61\144g\x65-d\x61\x6ege\x72'>\x47\x61\x67a\154</s\x70\141\156> \101\x6eda T\x69\144\141\x6b \102\151sa A\153s\x65\x73 \110\x61\x6c\x61m\141\x6e \x49\156\x69 \124\x61\x6e\160a \x4co\x67i\156!
                    <\142\165\164\x74o\156 ty\x70\x65='\142\x75\x74\164\x6f\x6e' \x63\x6ca\x73s='\143\x6c\157\x73\x65' da\164\x61-d\151sm\151s\163='\141\x6c\x65\162\164' \141\162\151\141-\154\141\142\x65l='Cl\x6f\163\145'>
                        <\163\x70an ar\x69\141-hidden='\x74\162\x75e'>&\x74\151\x6d\145s;</\x73\160a\x6e>
                    </b\x75\x74\x74\157\x6e>
                </\144\x69\x76>
            </\144\x69v>
      <\144\151v \143\154\x61\163s='\143\157\154-\x73m-12'>
      <div \143\x6ca\163\163='\143ar\x64-\146\x6f\157\164e\162'><\x61 \x68\162ef='\151\156\144\145\170.\160\150\x70'>
                        <\142\165\x74\x74\x6f\x6e \x74y\160\145='\x62ut\164\x6f\x6e' c\x6ca\x73s='bt\x6e \142\164\156-pr\151\x6da\x72\x79 \x62t\156-b\x6c\157\x63\x6b'>
                          <\x69 \143l\x61\x73\163='\x66\x61 \x66\141-d\x6f\164-\143\151\x72\143le-\x6f'></i> \114\x6f\x67\x69\x6e
                        </bu\164\164\157\156></\x61>
            

            "; }else{ include "k\157n\145\153\163\x69.php"; include "\x61n\x74i.\160\150\x70"; $idnya=cegah($_GET['hNi']); $nnn=balik($idnya); $carimateri=mysqli_query($kon, "\x73\145\x6c\145c\164 * \146rom \x72\x75angb\x65\x6c\x61\x6a\141\x72 w\150\145\162\x65 \x69\x64_ruangbelaj\141r='$nnn' "); $b=mysqli_fetch_array($carimateri); date_default_timezone_set('Asia/Jakarta'); $jam_menit=date("\x48:i"); $arr = explode(":", $jam_menit); $waktunya=$arr[0] * 60 + $arr[1]; $bulan=date("Y-\155-\x64"); $waktu=date("H:\151:s"); $tgljam=date("\x59-\155-\x64 \x48:\x69:\x73"); mysqli_query($kon, "\111NS\x45\x52\124 \x49\116TO \164\145\x6d\160\141\164\141\x62\163\145\156(id_a\x6egg\157\164\x61,\x74\x61\156\x67\x67a\154_\152\141\x6d,\x74\141\156\147\x67\141\x6c,\x6a\x61\155,\x62ayan\x67\x61n,i\x64_\155\141\164\145r\151,se\x62a\147\x61\151) \x56\x41LUE\123 ('$b[id_guru]','$tgljam', '$bulan' , '$waktu', '$waktu','$nnn','\x67uru')") or die (mysqli_error($kon)); echo "<s\143ri\x70\x74>;\167in\x64ow.\x6c\157\x63\141\164\x69on='\x68\157\155\x65.p\150\160?\x73\164a\164\145=m\x61\x73\x75\153k\x65\x6ca\163&h\116i=$idnya'</\x73\143ri\160t>"; } ?>

Function Calls

session_start 1
error_reporting 1

Variables

None

Stats

MD5 c519b5eb5a010a8982ac6dd25dca3a76
Eval Count 0
Decode Time 42 ms