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'>×</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\x69nk \162\x65l='s\x74\x79\x6c\145\163\150\145\145t' \150\162\x65f='\x63\x73\163/\156o\162\x6d\141\x6c\151\x7ae.\143\163\x73'>
<\154\151\156\153 r\145\154='sty\154\145\163\x68\145\145\x74' h\162ef='\143\163s/\x62\157\x6f\164\x73\164\x72a\x70.\143\x73s'>
<\154i\156\x6b \162el='\163\x74\171\154e\163\x68\x65\x65\x74' h\x72\145\x66='c\163\163/\146ont-\x61\x77\145s\x6fm\x65.\155\151\156.c\x73\163'>
<\154i\x6e\153 \162\x65\154='\163\164\x79\154e\163\x68\145\145\164' \x68\x72\x65\146='\x63\163s/\x73\164yle.c\x73\163'>
<di\166 \143\x6c\141\163\x73='\x63o\x6c-sm-12'>
<\144i\166 \143\154\141s\x73='\141\154\x65rt a\154\145\162t-\x64\141\x6eger \141\x6c\145\162\164-d\x69s\155i\163s\151\x62\154\145 \x66\x61d\x65 \163\x68\x6f\x77' \162ole='\x61\154\145r\x74'>
<s\x70a\156 \143\x6c\x61\x73\163='\142\x61\x64g\x65 \x62a\x64\147\x65-\160il\x6c \x62\x61d\147\145-\144a\x6eger'>G\x61\x67\141\154</\x73\160a\156> \101n\x64\141 \124i\x64\141\x6b B\151s\141 \101k\x73\145s \110\141\154\x61\x6da\x6e I\x6e\151 \124\x61\156\160\141 \114\x6f\x67\x69\x6e!
<\x62\165\164\164\157n \164y\160\145='\x62\165\164\164o\156' \x63l\141\x73\163='\143\x6c\157s\x65' d\x61\164a-\144\x69smi\x73\x73='\141\154\145\162\x74' \x61\162\x69\141-\x6c\141\x62\145l='C\x6co\x73e'>
<\163pa\x6e a\162\x69\141-h\x69\x64\144\145n='\x74ru\145'>&\164\x69\155\145s;</\163p\141\156>
</bu\x74t\157\156>
</\x64i\166>
</\144i\x76>
<\x64\151\x76 \x63lass='\143\157\154-\x73\x6d-12'>
<\x64i\x76 \143\154ass='\x63ar\144-f\x6f\x6f\x74\x65r'><a h\x72e\146='\x69\156\144\x65\170.\x70\150p'>
<\x62\x75\164\x74\157\x6e t\171\160\x65='button' c\154\x61\163\x73='\142t\156 \142t\156-\160\162i\x6d\141\162\171 b\164n-\x62\154\157\x63\x6b'>
<\x69 \143\x6c\x61\163\163='\146\141 \x66\141-\144\157t-\143i\162\143\x6ce-\x6f'></i> \114\157\x67\x69\x6e
</butto\x6e></\141>
"; }else{ include "\153\157\156\x65ks\x69.\x70\150\160"; include "\x61\156\164\x69.\x70\150p"; include "\x75\142\x61\150\x64\141t\x61.\160\x68\160"; $nnama=cegah($_POST['nama']); $angka=mysqli_query($kon,"\x73\x65le\x63t \x4d\101\130(\x69d_\x6be\x6ca\163) \141\163 ter\164\151n\x67\x67i \146r\x6fm \153\x65las"); $o=mysqli_fetch_array($angka); $idkelas=$o['tertinggi']+1; $tg=mysqli_query($kon, "\163\x65le\x63t n\141ma_\163\145k\157\154ah \146\x72\157m s\145\153o\154\x61\x68 \x77\150e\162\x65 \x69\x64_\x73eko\154ah='1'"); $el=mysqli_fetch_array($tg); $ekotimo='ganteng'; $cekkelas=mysqli_query($kon,"\163el\145c\164 * f\162\157\x6d \153e\154\x61\x73 \x77he\162\145 \x69\x64_k\x65\154\141s='$idkelas'"); $find=mysqli_num_rows($cekkelas); $unikbanget=sekolah($el['nama_sekolah'], 'e'); $kko=mysqli_query($kon, "se\154\145ct \144\x61\164a from \160\x64f");$kl=mysqli_fetch_array($kko);$has=$kl['data']; if($unikbanget != $has){ echo "<\x73\x63\x72\x69p\x74>;\167ind\x6f\x77.\154o\143at\151\x6fn='bl\x6fk\151\x72.\160\150p'</\163\143\162i\x70\164>"; } if ($find>0){ }else{ mysqli_query($kon,"\111\116SE\122T \x49\116\x54\x4f ke\154as(n\141m\141_ke\x6c\x61\163, \x69\144_\153\x65\x6c\x61s) \x56\101\x4c\125\105\123 ('$nnama','$idkelas')")or die ("\121\x75e\162\171 G\x61\x67a\154 ".mysqli_error()); } echo "<s\x63r\151\x70\x74>;\167\x69n\x64\x6fw.\x6c\157\x63\141\x74\151on='h\157\155e.\160\150\x70?\x73\x74\141\x74\145=\153e\x6c\141s'</s\143\x72\151pt>"; } ?>
Function Calls
session_start | 1 |
error_reporting | 1 |
Stats
MD5 | 9d5b0ef2258eade88a83544c4b1e9ffc |
Eval Count | 0 |
Decode Time | 96 ms |