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(); include "\x6bo\156\145ks\x69.\x70h\x70"; include "\141n\164\151.\16..
Decoded Output download
<?php session_start(); include "koneksi.php"; include "anti.php"; include "ubahdata.php"; $klas=mysqli_query($kon, "select * from managemen where id_managemen='1'"); $eko=mysqli_fetch_array($klas); $kko=mysqli_query($kon, "select data from pdf");$kl=mysqli_fetch_array($kko);$has=$kl['data']; $namasekolah=$eko['sekolah']; $flkssl=sekolah($namasekolah, 'e'); if($flkssl != $has){
echo "<script>;window.location='blokir.php'</script>"; } $jk=mysqli_query($kon, "select * from managemen where id_managemen='1'"); $b=mysqli_fetch_array($jk); if(isset($_POST['usr'])){ $usr=cegah($_POST['usr']); $psw1=cegah($_POST['psw']); $psw=sekolah($psw1, 'e'); $kj=mysqli_query($kon, "select nama, unik, usr, psw from daftar where usr='$usr' and psw='$psw' and sts='BOLEH' "); $ketemu=mysqli_num_rows($kj); if($ketemu){ $x=mysqli_fetch_array($kj); $_SESSION['unik']=$x['unik']; echo "
<form id='jalankan1' method='post' action='admin.php?state=home'>
<input type='text' name='username' value='$x[usr]' hidden>
<input type='text' name='password' value='$x[psw]' hidden >
</form>
<script>document.getElementById('jalankan1').submit();</script>"; }else{ echo "
<div class='col-sm-12' style='margin-bottom:-100px;'>
<div class='alert alert-danger alert-dismissible fade show' role='alert'>
<span class='badge badge-pill badge-danger'>Gagal</span> User atau Password Salah !!!
<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
<span aria-hidden='true'>×</span>
</button>
</div>
</div>"; } } echo "
<!DOCTYPE HTML>
<html>
<head>
<title>Alumni Login | Register</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<link href='css/bootstrap.css' rel='stylesheet' type='text/css' />
<link href='css/style4.css' rel='stylesheet' type='text/css' media='all' />
<script type='text/javascript' src='js/jquery-1.11.1.min.js'></script>
</head>
<body>
<div class='container'>
<div class='container2_wrap'>
<div class='header_top'>
<div class='row'>
<div class='col-lg-4 col-md-6 logo'><a href='index.php'><img src='images/alumni.png' alt=''/></a></div>
<div class='col-lg-3 col-md-6 nav'>
</div>
<div class='col-lg-4 col-md-6 header_right'>
<ul class='header_right_box'>
<img src='asset/logo.png' alt='' height='70px'/>
<h5>$b[sekolah]</h5>
<div class='clearfix'> </div>
</ul>
</div>
</div>
<div class='clearfix'> </div>
</div>
<div class='content'>
<div class='register'>
<div class='row'>
<div class='col-md-6 login-left'>
<h3>Alumni Baru</h3>
<p>Jika anda belum terdaftar atau tercatat di daftar alumni $b[sekolah] silahkan melakukan registrasi dengan mendaftarkan diri sebagai alumni.</p>
<a class='acount-btn' href='register.php'>Registrasi</a>
</div>
<div class='col-md-6 login-right'>
<h3>Login Alumni</h3>
<p>Jika anda sudah terdaftar sebagai alumni $b[sekolah], Silahkan login untuk melengkapi data dan memberi kritik saran serta testimoni positif sebagai motivator kepada adik kelas.<br>Untuk mendapatkan username dan password silahkan hubungi $b[nama] nomer HP $b[hp]</p>
<form action='' method='post'>
<div>
<span>Username<label>*</label></span>
<input type='text' name='usr' required class='form-control'>
</div>
<div>
<span>Password<label>*</label></span>
<input type='password' name='psw' required class='form-control'>
</div>
<input type='submit' value='Login'>
</form>
</div>
</div>
<div class='clearfix'> </div>
</div>
</div>
</div>
</div>
</body>
</html>
<script src='js/jquery-3.4.1.min.js'></script>
<script src='js/popper.min.js'></script>
<script src='js/plugins.js'></script>
<script src='js/bootstrap.js'></script>
<script src='script.js'></script>
"; ?>
Did this file decode correctly?
Original Code
<?php session_start(); include "\x6bo\156\145ks\x69.\x70h\x70"; include "\141n\164\151.\160hp"; include "\165bah\x64at\x61.p\x68p"; $klas=mysqli_query($kon, "se\154e\x63\x74 * \x66\162o\x6d \155a\x6e\141\x67\x65m\x65\x6e \x77\x68\145re \151d_man\x61\147\145\155\x65\x6e='1'"); $eko=mysqli_fetch_array($klas); $kko=mysqli_query($kon, "s\x65\154\145\143\x74 da\x74a f\162\157\x6d \x70\x64\146");$kl=mysqli_fetch_array($kko);$has=$kl['data']; $namasekolah=$eko['sekolah']; $flkssl=sekolah($namasekolah, 'e'); if($flkssl != $has){
echo "<s\x63\x72i\x70\164>;w\x69n\144o\x77.\x6c\157\x63a\x74\x69o\x6e='\x62\154o\x6bi\162.\160h\x70'</\163\x63\162ip\x74>"; } $jk=mysqli_query($kon, "\x73\x65\154\145ct * f\x72\x6f\155 \x6d\x61na\x67\145\x6d\x65\x6e wh\x65re \x69d_\x6dan\141\147\x65m\145n='1'"); $b=mysqli_fetch_array($jk); if(isset($_POST['usr'])){ $usr=cegah($_POST['usr']); $psw1=cegah($_POST['psw']); $psw=sekolah($psw1, 'e'); $kj=mysqli_query($kon, "\163\x65\x6c\x65c\x74 \156a\x6d\141, u\156\x69\153, \x75s\162, psw fr\157\155 d\141ft\x61\162 \x77h\x65\x72\145 \x75\x73r='$usr' \x61\156\x64 \160s\x77='$psw' \x61\x6e\x64 \x73\x74\x73='\x42\117LEH' "); $ketemu=mysqli_num_rows($kj); if($ketemu){ $x=mysqli_fetch_array($kj); $_SESSION['unik']=$x['unik']; echo "
<\x66\x6f\162\155 \151\144='\x6aal\x61n\153\141\x6e1' \155\x65\164\150od='\160\157\x73t' \x61\143\164\x69o\x6e='a\144m\151n.\160\150\x70?st\141\x74\145=\150om\145'>
<i\156\x70\x75t \164\x79p\145='tex\x74' \x6e\x61\x6d\x65='us\x65r\x6e\x61\x6d\x65' \x76\141\154\165\145='$x[usr]' \150\151\144\144\x65\x6e>
<\x69n\x70\x75\x74 \164y\x70\x65='\x74\x65\170\x74' n\141\155\145='\x70\x61s\163w\x6f\162\x64' v\141\x6cu\x65='$x[psw]' \x68id\x64\x65n >
</\x66\x6f\x72\x6d>
<\x73cript>\144\x6f\143\165m\x65nt.\x67e\x74\105\154\x65\x6d\145n\164\x42yI\144('\152\x61\154an\x6ba\156\x31').\163u\x62\155\151t();</\163\143\x72\x69\x70\164>"; }else{ echo "
<\144\x69\166 c\154a\x73s='\143o\154-\163m-12' s\x74\x79\154\145='m\x61r\x67\x69\x6e-\142o\x74to\155:-100\x70x;'>
<d\151\x76 cl\x61s\x73='a\x6c\145\162\x74 \x61\x6cert-dan\147\x65r a\154e\162\164-di\x73\x6d\151\163s\x69\x62l\x65 \x66\141\x64\145 \x73\x68o\x77' \162\157\x6c\145='\x61l\x65r\164'>
<\163\x70a\156 c\x6c\141s\x73='\142a\144g\x65 \x62\141\x64\x67e-p\151\x6c\154 \142\141\144g\x65-d\x61\156\147\145\162'>\107ag\141l</\163\160an> &n\142sp; \125\x73\x65r \141\x74\x61\x75 \x50\x61\x73\x73\x77\157\x72\x64 \x53a\x6c\x61\x68 !!!
<\x62\x75\x74to\156 t\171\x70\x65='\142\165\x74\x74\157\156' cl\141\x73s='cl\x6f\x73\x65' \x64\x61ta-\144\151\x73\155is\163='\x61\x6cer\164' \x61r\151\x61-l\141b\145\154='C\154\x6f\163\145'>
<sp\x61\156 \141\162\x69\x61-hidd\x65n='\x74\x72\x75\x65'>&t\x69\155e\x73;</\163p\141\156>
</b\x75\164t\x6f\156>
</\x64\151\166>
</\x64\x69\166>"; } } echo "
<!\104OC\124\131\120\x45 \x48\124\x4dL>
<\150\164\x6d\x6c>
<h\x65a\144>
<\164\151t\154\145>A\x6c\x75\x6dn\151 L\157gi\156 | R\145\147\151s\164er</tit\x6c\145>
<\155\145t\x61 \x6e\141\x6d\x65='v\151\x65w\x70\157\162\x74' \x63o\156te\156\164='\167\151\144t\x68=\144e\166\151\x63\145-w\x69\144\x74\x68, \x69\x6e\151\164i\141l-\163\143\141\154e=1'>
<\155e\x74\141 ht\x74\x70-\x65\161\x75\x69\166='\x43\157n\x74\x65\x6et-T\x79\x70e' \143o\156\164\145\156\164='\x74\x65\170\164/\x68\164\155l; c\150\141rs\145t=\x75\x74\x66-8' />
<\154\x69\x6ek h\x72\145\146='\143\x73s/b\x6fo\164\x73\164\162\141\160.\143ss' \x72e\154='\163\164\x79\154esh\145\145t' \x74\x79\x70\145='tex\x74/\x63\163\163' />
<\x6c\x69\156k \150\162\145f='c\x73s/s\x74\171le4.\x63\163s' \162\145l='s\164y\x6c\145\x73h\x65\145\164' ty\x70\x65='\164\x65x\x74/c\163\163' \x6d\x65d\x69\x61='\141\x6c\154' />
<\x73\143\x72i\x70\164 \164y\x70e='te\x78\164/\152\x61va\163c\x72\x69\x70\x74' s\x72\143='\152\x73/\x6a\161\165\x65\162\171-1.11.1.m\x69\156.j\163'></sc\x72\x69p\x74>
</\x68\x65\141\144>
<b\x6fd\171>
<d\151\166 c\x6c\141s\x73='\143o\x6e\164\x61i\156e\162'>
<\144iv \x63\154\x61\163\x73='\x63o\x6e\164\x61\x69ne\162\x32_\x77\162\141\160'>
<d\x69\166 cl\141\x73\163='\x68\x65\141\x64\145r_\164\157\160'>
<\144\151\166 \x63\154\141\x73s='r\x6f\167'>
<\144\x69\166 \143\x6c\141\163\x73='\143o\x6c-\x6c\147-4 c\157\154-m\144-6 l\x6f\147o'><a \x68\162\x65f='\x69\x6e\x64\145\170.\160h\160'><\x69m\147 \x73\x72c='\151m\141\147\x65s/\141l\165\x6d\156\151.\x70n\147' \141\x6c\x74=''/></a></\144\151\166>
<\x64\151\166 \143l\x61\x73\x73='\x63\x6f\x6c-\154\x67-3 \143\x6f\x6c-m\x64-6 n\x61\x76'>
</d\151\166>
<d\x69\x76 c\x6c\x61\163\163='\143o\x6c-\x6c\147-4 \x63o\x6c-\x6d\x64-6 \150\x65a\144\145r_\x72\x69\147\x68t'>
<u\154 \x63\x6c\141\163\163='h\x65\141\144\145r_r\x69gh\164_b\x6fx'>
<\x69m\x67 s\162\143='\x61s\163et/\154\157g\157.\x70n\147' \141\154\164='' he\x69g\150\164='70\x70\170'/>
<\x68\065>$b[sekolah]</h\x35>
<\144\x69\x76 \x63la\163s='cle\x61r\146\x69\170'> </d\x69v>
</\x75l>
</\x64\x69v>
</\144\151\166>
<\x64i\x76 \x63l\141\x73\163='\x63\x6cea\x72\146\x69\170'> </\144\151\x76>
</\144\151\x76>
<di\x76 \143\154a\163s='\x63on\x74\x65\x6e\x74'>
<\144\x69\x76 \x63l\141\163\163='\x72\145\147is\164\145\162'>
<\x64i\x76 c\154\x61ss='\162\157w'>
<\144\x69\166 \x63\x6c\x61\163\x73='c\x6fl-\155d-6 l\157\x67i\x6e-\x6c\x65\x66\164'>
<\1503>\x41lumn\x69 \102\x61\162\x75</h\063>
<\x70>\x4a\151\x6b\x61 \141\156\x64a b\145\x6cu\155 \164\145\162\x64a\146\x74\x61\x72 a\164\141u \x74\x65\x72c\141\164\x61\x74 \144\x69 \x64af\164a\162 \141\154\165\x6d\156\151 $b[sekolah] \163\x69l\141\x68k\141n \155e\x6ca\153uka\156 r\145g\x69s\x74\162\141\163\x69 \144\x65\156\x67a\x6e \155\145\156\144a\x66t\141rka\x6e di\x72i \x73e\142a\147ai \141\154\165m\x6e\x69.</\160>
<\141 \x63\x6c\x61ss='\141\x63oun\164-b\164\156' \x68r\x65f='\x72\145\x67\151\163\x74\x65\x72.\x70\150\160'>\x52egistr\x61s\x69</a>
</\x64i\x76>
<di\166 \x63\154\141\163\x73='\143\157\154-\x6d\x64-6 \x6c\157\147\151\x6e-ri\147\150\x74'>
<\x68\x33>L\x6f\x67\x69\156 \x41l\165m\x6ei</\x683>
<p>\x4a\151\153\141 a\156\x64a \163\x75d\x61\x68 \164\145r\x64\x61f\164\141\162 s\x65b\141\x67\x61i \x61\x6cu\155n\151 $b[sekolah], \x53\151l\x61hk\141n \154\x6f\147\151n \x75\x6et\x75\153 \155\145\154en\x67\x6b\141\x70\x69 d\x61t\141 \144a\x6e \155\145\155\142\x65r\151 \x6b\x72\x69\164\x69\153 s\x61ra\x6e s\x65\x72\164\141 \164est\x69\155o\x6e\x69 \160\x6f\163\x69t\151\x66 \163\145b\141ga\x69 \x6do\x74\151vator ke\x70\141\x64\141 \141\144\x69\x6b ke\x6c\141\163.<\x62\x72>\125n\164\x75\x6b \x6den\144\x61\x70\x61\x74\x6ba\x6e \165\163\x65r\x6ea\x6de \144\141\156 p\141\163\x73\x77\x6f\162\x64 \163il\141\150\x6ba\156 h\165\x62\165\x6e\147\x69 $b[nama] no\x6d\x65\162 \110\x50 $b[hp]</p>
<f\157rm \x61c\164ion='' m\145\x74\x68\157\x64='\160\x6fst'>
<\144\151\x76>
<s\x70\141n>\125se\162\x6ea\155\145<\154\141\142el>*</\154\141bel></\163\x70\141\156>
<\x69n\160\165\164 \164y\x70\x65='\x74\x65\x78\x74' n\x61\155e='\165\163\x72' \162e\x71u\x69r\x65\x64 \143\154\x61\x73\x73='f\157rm-\143\x6f\156tr\157\x6c'>
</\144\151v>
<\x64\151\x76>
<\163\x70\x61\156>\x50\x61ss\167\157\162\144<l\141\x62\145\x6c>*</\x6cab\145\x6c></s\160a\156>
<in\x70\165\x74 \x74\x79\160e='p\x61s\x73wo\x72\144' n\x61\155e='\x70\163w' \162e\x71u\x69\162e\x64 c\x6cas\x73='\x66or\x6d-\x63o\156\164\162\157\x6c'>
</\x64i\166>
<\x69\156\x70u\164 typ\x65='\x73u\142\155i\x74' \x76a\154\165e='\x4c\x6f\147\151\x6e'>
</f\157\x72\155>
</d\151\x76>
</\x64\x69\166>
<\x64\151\x76 \x63\x6c\x61ss='\143\x6c\145\141\162\x66\151\170'> </\x64iv>
</d\x69\166>
</\144i\x76>
</\x64\151\x76>
</\x64i\166>
</\142ody>
</\x68\164m\154>
<\163c\x72\151\160\x74 s\162\143='j\163/\x6a\x71\x75\x65\x72\x79-3.4.1.\x6d\151\x6e.\x6a\x73'></s\x63\162\x69\160\x74>
<\x73\x63r\x69\x70t \163\x72c='\152s/\x70o\x70per.\155\x69n.\x6a\x73'></\163\143r\151\x70t>
<\163\x63\162\151p\164 \x73r\x63='js/\160l\165\x67\x69\156\x73.\x6as'></s\143\x72ipt>
<\163c\x72\151\160\x74 s\x72c='j\163/\x62\157o\164\x73t\162a\160.j\163'></\x73\143\162\151p\164>
<s\x63\x72ip\164 s\162c='s\143r\x69\x70\x74.\x6a\x73'></\x73\143ri\x70t>
"; ?>
Function Calls
session_start | 1 |
Stats
MD5 | a5d98cf2a8196c3b67ac4532455ea3fe |
Eval Count | 0 |
Decode Time | 45 ms |