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"; $id = cegah($_POST['rowid']); $swq=mysqli_query($kon, "select * from pelajaran where id_pelajaran='$id'"); $r=mysqli_fetch_array($swq); $kepsek=htmlentities($r['nama_pelajaran'],ENT_QUOTES); echo "
<form action='updatepelajaran.php' method='post' class='form-horizontal'>
<input type='text' id='text-input' name='id_pelajaran' class='form-control' value='$r[id_pelajaran]' hidden>
<div class='row form-group'>
<div class='col col-md-3'><label for='text-input' class=' form-control-label'>Nama pelajaran</label></div>
<div class='col-12 col-md-9'><input type='text' id='text-input' name='nama_pelajaran' class='form-control' value='$kepsek'><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
<?php session_start(); error_reporting(0); if (empty($_SESSION['unik'])){ echo "
<l\151\x6ek r\145\154='s\164\171\x6ce\163h\x65\x65\x74' \150\162\145\x66='c\x73\163/\156\x6f\x72\x6d\x61l\151\172e.\143\163s'>
<\154\151\x6e\x6b \x72\x65l='s\164y\154e\x73\150\145\x65\164' h\x72\x65f='\x63ss/\x62oo\164\163t\x72\141\160.\143\x73\x73'>
<\x6c\x69\x6e\153 r\145\x6c='\163\164\171les\150\x65\x65t' \x68\162\x65\x66='c\x73\x73/\x66\157\x6e\x74-a\x77\145\x73\157me.mi\x6e.\x63ss'>
<lin\x6b \x72\145\x6c='\163ty\x6c\145\163h\x65\x65t' \x68\162\x65\x66='\x63\163\163/\163\164\x79\x6c\145.\x63\163\x73'>
<\144\151v c\x6c\x61s\163='co\154-\163m-12'>
<d\151\166 \143\x6c\141\163\x73='a\154\x65\162\x74 a\154\145r\x74-\x64\141\156\x67er \x61\x6c\145r\164-\x64\x69s\x6d\151\163\x73\151\142\x6c\x65 \x66a\144\145 \x73\x68\157\x77' \x72\x6f\x6ce='a\x6c\145\x72\x74'>
<\163\x70\x61n cl\x61\163\x73='\142\141\144ge \142ad\147\x65-p\151l\x6c b\141\x64ge-\144\141ng\145r'>Ga\147a\154</\163pa\156> \101\x6ed\x61 \x54i\x64\141k \x42\x69\163\141 \101\153\x73e\163 \110\x61\154am\141n I\156\151 \124an\x70\141 \114\157\x67in!
<\142\165\x74\x74on \164y\x70\x65='but\164\x6fn' c\154a\163s='c\x6cose' \x64at\141-\144\151s\155i\163\163='\x61\x6c\x65r\x74' \141\162ia-\x6c\x61\142\145\x6c='\103\154\157\x73\145'>
<\163pa\x6e \141r\151\141-h\151d\x64e\156='\x74r\x75\x65'>&\164\x69\x6d\145\163;</\163\160a\x6e>
</b\165t\x74\157\x6e>
</\x64\151\166>
</\144iv>
<\x64\x69\166 cla\x73\x73='\143\157\154-\x73\x6d-12'>
<d\151v c\154a\163\163='c\141\162\144-foot\145r'><\x61 \x68\162e\146='\x69n\x64ex.\x70h\160'>
<bu\164\x74\x6f\156 t\x79p\145='bu\164\x74\x6f\x6e' \143\x6c\141\163\x73='b\x74\156 bt\156-\160\162\151\155\141r\x79 b\x74n-\142\x6c\157\x63\x6b'>
<\x69 \143l\141s\163='\146\x61 fa-\144\157t-c\151\x72\143\154\145-\x6f'></\151> L\157gi\156
</\142\165\x74\164\157n></a>
"; }else{ include "\153\x6f\156\145\153\163i.\160\150p"; include "a\x6et\x69.\x70hp"; $id = cegah($_POST['rowid']); $swq=mysqli_query($kon, "\x73\145\x6ce\x63\x74 * f\162o\155 p\145\154a\152a\162a\x6e w\x68\x65\x72\x65 \x69\144_\160el\x61j\141\162\x61\156='$id'"); $r=mysqli_fetch_array($swq); $kepsek=htmlentities($r['nama_pelajaran'],ENT_QUOTES); echo "
<fo\x72m \141\x63\164\151\x6fn='up\144\141t\145\160e\x6c\x61\152a\x72a\x6e.\160\x68\x70' \155\145\x74\x68\x6f\144='po\163\164' \143la\163\x73='fo\x72\x6d-\x68or\x69zo\x6e\x74a\x6c'>
<i\156\x70u\x74 t\171\160e='t\x65\x78t' i\144='\x74\145\x78\x74-in\160\165\x74' \x6eam\x65='\151d_p\145\x6ca\152a\162\x61\x6e' \143\154\141\x73s='fo\x72\155-\x63\x6f\156t\x72\x6f\x6c' v\x61l\x75\145='$r[id_pelajaran]' hi\144\144\145\156>
<\144\x69\x76 \x63l\141\x73\x73='r\x6f\x77 f\x6f\x72\x6d-g\x72\x6f\165\x70'>
<\x64\151v \x63l\x61ss='c\157\154 \x63\157\x6c-m\x64-3'><l\x61\142\145l \x66or='\x74e\x78\x74-i\156\160\165\164' \143\x6ca\163s=' \x66\157\x72\x6d-\143o\x6e\164r\x6f\x6c-\x6cab\x65l'>N\141\x6da \x70\x65l\141\x6aa\x72\141\156</l\x61b\x65\154></\x64i\x76>
<\x64iv \143l\x61s\x73='\x63\157\154-12 \x63\157\x6c-\155\144-9'><\x69np\165t \164ype='tex\x74' \x69d='\164e\170\164-\151\156\x70ut' \156\141m\145='\156a\155\141_\160\x65\154\x61\152\141r\x61n' \x63l\x61s\163='\146orm-\143\157\156\164\x72o\x6c' v\141lu\x65='$kepsek'><\163m\x61\154\x6c c\x6c\141\x73\163='fo\x72\x6d-\164\x65\x78t \x74\145\x78t-\155u\x74e\144'></sm\x61l\x6c></\x64\151v>
</div>
<\144i\166 \x63l\x61\x73\163='c\141\162\144-\146oo\x74e\x72'>
<\142\x75t\164o\156 typ\145='s\165b\155i\x74' \x63\x6c\141ss='b\x74\156 \x62\164n-\x70ri\155\141\x72y \142\164n-\163m'><\x69 \x63la\x73\x73='\146\141 f\141-s\141\x76e'></\151> \x53\x69\155\x70\x61\156
</\142\x75t\x74\x6f\x6e>
</fo\x72\155>
</div>
"; } ?>
Function Calls
session_start | 1 |
error_reporting | 1 |
Stats
MD5 | 52ebb5873b54a4a6f3bafa9f7d2827aa |
Eval Count | 0 |
Decode Time | 64 ms |