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 "\x6b\157n\145k\163\x69.\160\150\160"; include "a\x6et\x69...
Decoded Output download
<?php session_start(); include "koneksi.php"; include "anti.php"; $id = 7491; $swq=mysqli_query($kon,"select * from siswa where id_siswa='$id'"); $r=mysqli_fetch_array($swq); echo "
<link rel='stylesheet' href='css/bootstrap.min.css'>
<link rel='stylesheet' href='css/font-awesome.min.css'>
<link href='css/datepicker.css' rel='stylesheet'>
<link rel='stylesheet' href='css/foto.css'>
<link rel='stylesheet' href='css/block.css'>
<script type='text/javascript' src='js/jquery-1.10.2.min.js'></script>
<script src='js/foto.js' type='text/javascript'></script>
<script type='text/javascript' src='js/bootstrap.js'></script>
<script type='text/javascript'>
$(document).ready(function(){
//Callback handler for form submit event
$('#myform').submit(function(e)
{
var formObj = $(this);
var formURL = formObj.attr('action');
var formData = new FormData(this);
$.ajax({
url: formURL,
type: 'POST',
data: formData,
contentType: false,
cache: false,
processData:false,
beforeSend: function (){
$('#loading').show(1000).html(\"<img src='load.gif' height='40'>\");
$('#sembunyi').prop('disabled', true);
$('#popup1').css('visibility', 'visible');
},
success: function(data, textStatus, jqXHR){
$('#result').html(data);
$('#loading').hide();
},
error: function(jqXHR, textStatus, errorThrown){
}
});
e.preventDefault(); //Prevent Default action.
e.unbind();
});
});
</script>
<div class='col-sm-12 '>
<div class='card'>
<div class='card-header'>
<i class='mr-2 fa fa-tint'></i>
<strong class='card-title'>Input Pelanggaran Siswa</strong>
</div>
<div class='card-body'>
<form action='simpanpelanggaran.php' method='post' id='myform' class='form-horizontal' enctype='multipart/form-data'>
<input type='text' name='id' hidden value='$id'>
<input type='text' name='nama' hidden value='$r[nama]'>
<input type='text' name='nis' hidden value='$r[nis]'>
<input type='text' name='kelas' hidden value='$r[kelas]'>
<input type='text' id='text-input' name='id_anggota' class='form-control' value='$r[id_siswa]' hidden>
<div class='row form-group'>
<div class='col col-6 col-md-3'><label for='text-input' class=' form-control-label'>Nama</label></div>
<div class='col-6 col-md-9'><label for='text-input' class=' form-control-label'>$r[nama]</label></div>
</div>
<div class='row form-group'>
<div class='col col-6 col-md-3'><label for='text-input' class=' form-control-label'>NIS</label></div>
<div class='col-6 col-md-9'><label for='text-input' class=' form-control-label'>$r[nis]</label></div>
</div>
<div class='row form-group'>
<div class='col col-md-3'><label for='text-input' class=' form-control-label'>Tanggal </label></div>
<div class='col col-md-2'><div class='input-group'>
<div class='input-group date ' data-date='' data-date-format='yyyy-mm-dd'>
<span class='input-group-addon'><i class='fa fa-calendar'></i></span>
<input class='form-control' type='text' name='tgl' readonly required value=''>
</div></div>
</div>
</div>
<div class='row form-group'>
<div class='col col-md-3'><label for='text-input' class=' form-control-label'>Jenis Pelanggaran</label></div>
<div class= 'col col-md-3'>
<select name='izin' id='select' class='form-control'>
<option value='0'>Please select</option>
<option value='Terlambat' >Terlambat</option>
<option value='Membolos' >Membolos</option>
<option value='Berkelahi' >Berkelahi</option>
<option value='Merokok' >Merokok</option>
<option value='Miras' >Miras</option>
<option value='Narkoba' >Narkoba</option>
<option value='Tidak ikut upacara' >Tidak ikut upacara</option>
<option value='Pornografi dan sara di medsos' >Pornografi dan sara di medsos</option>
<option value='Mencemarkan nama baik sekolah' >Mencemarkan nama baik sekolah</option>
<option value='Melawan guru' >Melawan guru</option>
<option value='Tidak berseragam lengkap' >Tidak berseragam lengkap</option>
<option value='Mencuri' >Mencuri</option>
<option value='Memalsukan surat izin' >Memalsukan surat izin</option>
</select>
</div>
</div>
<div class='row form-group'>
<div class='col col-md-3'><label for='text-input' class=' form-control-label'>Tindakan</label></div>
<div class='col-12 col-md-9'><textarea name='keterangan' class='form-control'></textarea></div>
</div>
<div id='popup1'></div>
<center><div id='loading'></div></center><br>
<div id='result'></div>
<div class='row form-group'>
<div class='col col-md-3'><label for='text-input' class=' form-control-label'>Foto</label></div>
<div class='col-12 col-md-9'>
<div class='image-upload'>
<label for='gallery-photo-add'>
<img src='kamera.png'>
</label>
<input type='file' name='F1' accept='image/*' id='gallery-photo-add' multiple='multiple' required>
</div>
<br>
<div class='gallery'></div>
</div>
</div>
</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>
</div>
</div>
<script src='js/bootstrap-datepicker.js'></script>
<script>
$('.input-group.date').datepicker({autoclose: true, todayHighlight: true});
</script>
"; ?>
Did this file decode correctly?
Original Code
<?php session_start(); include "\x6b\157n\145k\163\x69.\160\150\160"; include "a\x6et\x69.\x70\150\160"; $id = 7491; $swq=mysqli_query($kon,"\x73el\145ct * f\162o\155 \x73i\x73\167\x61 whe\162e \151d_\163\x69\x73\x77a='$id'"); $r=mysqli_fetch_array($swq); echo "
<\x6c\151\x6e\153 \162\x65\154='\163\x74\171\154e\163he\145\x74' \150\162\x65\146='\x63\x73\x73/\142\x6f\x6f\164\x73\164\162\x61\x70.\x6di\x6e.\x63ss'>
<\154in\x6b \x72el='\x73\x74yl\x65\163\x68\145e\x74' href='\143s\163/fo\x6et-\x61\167\145\x73\x6f\155e.m\x69\156.c\163\163'>
<\154\151nk \x68r\145\146='c\163\163/\x64\141\164\x65\160\x69\x63\x6ber.\x63\163\x73' \x72\x65l='\163t\171\x6c\145she\145t'>
<l\x69\156\153 \x72\x65\154='s\164y\154\145s\x68\145\145t' \x68\162e\x66='\143\163\x73/fo\x74o.\143\x73\x73'>
<l\x69nk \x72el='\x73\x74\171les\x68\x65e\164' \150\x72\145\x66='c\x73\x73/b\154\157\x63\153.c\x73\x73'>
<\163\x63ri\160\x74 \x74\x79\160e='t\145\170t/j\x61\166\x61sc\x72\151\x70\164' \163\x72\x63='j\163/\x6aq\x75\145\x72\171-1.10.2.m\x69\x6e.\152\x73'></\163\143\162\151\160\164>
<sc\x72\151pt s\162\x63='\x6a\163/\146\x6fto.\152\163' \x74y\160\x65='\x74e\x78\x74/\x6a\141\x76\141s\x63\162\x69\x70t'></\x73\143\162\x69\160\x74>
<\x73\x63ript \x74\x79\x70e='\164e\170t/\152a\x76\141\x73\x63ri\160\164' \163\162c='\x6as/\142\x6fo\164\x73\x74\162ap.\152\163'></\x73c\162\151p\x74>
<\163cri\160\164 \164yp\145='\164\145\170\x74/javas\x63r\x69p\x74'>
$(\x64oc\165men\x74).\162\145\x61d\x79(\146u\156\143\164io\156(){
//\103\141\x6cl\142\141\143k \150\141n\144\154er \146\157r \146\x6f\x72\x6d \163\165\x62\x6d\x69\x74 \145\x76\145n\164
$('#\155y\146o\162\x6d').\163\165\x62m\x69\x74(\146u\156\143ti\x6fn(e)
{
\166a\x72 \146or\x6d\117\x62j = $(\x74\150i\x73);
\x76\141r \146\x6fr\x6d\125\122L = \146\157rm\117\142\x6a.\141tt\162('\x61\143\x74\x69\157n');
\166\141\x72 f\x6fr\155\x44\x61\164a = \x6e\145w Fo\162\x6d\104a\164a(\164\150\x69s);
$.a\x6a\141\x78({
\165r\154: f\157\x72m\125\122\114,
t\x79\160e: '\x50\x4f\123\124',
\144\x61t\141: \146\x6f\x72\155\x44\x61t\x61,
c\x6fnt\145\x6e\x74\124\x79\160\x65: f\141\x6cs\145,
\x63\141\x63\x68\145: \x66a\x6c\x73\x65,
\160\162\157\143\x65\163\x73D\141\164a:\146\x61\154se,
b\x65\146o\x72e\123e\x6e\144: \x66\165\156\x63\164\x69\x6f\156 (){
$('#loa\144\x69\x6eg').\163\x68\x6f\167(1000).\150\x74\x6dl(\"<\x69m\147 \163r\x63='\154\x6f\141\x64.\x67\x69\146' \150\x65\x69\x67\x68t='40'>\");
$('#s\145m\142\x75\x6e\x79i').\160ro\x70('\144\x69\163ab\x6c\145\x64', t\x72\165\145);
$('#\160o\160\165\160\061').\x63ss('\x76is\x69\x62i\154\151ty', '\166isi\142le');
},
s\x75cce\163\x73: fu\x6ec\164\x69on(\144a\x74\141, t\145xt\123\164a\164\x75\x73, j\x71X\x48\122){
$('#\x72\145\x73\165l\x74').\x68\164\x6dl(d\x61\x74\141);
$('#\154\x6f\x61\144i\156g').\150\151d\145();
},
\145\x72\162o\162: \x66u\x6e\143\164\x69\x6fn(\152\161\130\110R, t\x65\x78t\123ta\164\165\x73, \145r\162\x6fr\x54\150r\157\x77n){
}
});
\x65.\160re\166\145\156\164\x44\145f\x61u\154\164(); //\x50\162\145\x76en\x74 \104e\146a\x75l\x74 \x61ct\151\x6f\156.
\145.u\x6e\x62\x69nd();
});
});
</\163c\162\151\x70\x74>
<\144\x69\166 \143l\141\163\163='co\x6c-s\155-12 '>
<\x64\151v c\x6c\141\x73\163='c\141r\144'>
<d\151\x76 \x63\154\x61\163s='car\144-h\x65\141\x64\145\162'>
<\151 cl\x61\163s='\x6dr-2 \146\x61 f\141-\x74in\164'></i>
<\x73\164\162o\156g \143\x6c\141\x73\x73='\143a\x72d-\x74it\x6ce'>I\x6epu\164 P\x65l\x61\156gg\141r\x61\x6e \x53is\167\x61</\x73tr\157\x6e\x67>
</d\151v>
<\x64i\x76 \x63la\163\x73='c\141rd-b\x6f\144y'>
<fo\162\155 \141\143\164\x69\x6fn='si\155\160\x61n\x70\145l\141\156g\147a\x72a\156.\160\150\x70' \155e\164h\157\144='p\157\x73t' i\x64='\x6d\x79fo\162\x6d' \143\154\141\x73\163='\x66or\155-h\157\162\151z\157\156\164a\x6c' e\x6e\143t\171\160\x65='\155\165\154\x74\151\160art/for\155-\x64\141\x74\x61'>
<\151n\x70\165\x74 \x74\171pe='\164\145x\x74' na\155e='\x69\x64' \150idd\x65\156 \166a\154\x75e='$id'>
<i\156\160ut \164\171p\145='\164e\x78\164' \x6e\141m\x65='\x6e\141\155\x61' hi\144\x64\145\156 \166a\x6c\165\x65='$r[nama]'>
<\x69np\x75t ty\x70\145='\x74\x65\170\x74' n\141\x6de='\x6ei\163' h\x69\144d\x65\156 val\x75\145='$r[nis]'>
<\x69np\165\x74 \x74y\x70\x65='\164ex\x74' n\x61\155e='k\x65la\163' h\x69\144\x64e\x6e \x76\141\154\165\145='$r[kelas]'>
<i\156\160\165t ty\x70\x65='\x74\x65\x78\x74' i\144='\164\x65x\164-\151\x6e\x70u\x74' \x6e\141\155\x65='\x69\x64_a\x6e\x67\147\x6f\x74\141' cl\141\x73\163='\146\157\x72\x6d-c\x6f\156tr\x6f\x6c' val\x75e='$r[id_siswa]' hid\x64\x65\x6e>
<\144i\x76 \143\x6c\x61\163s='\162ow f\157r\155-\147\x72\157up'>
<di\166 \143\154\141s\163='\143\157l \143\157\x6c-6 \143\157l-\155\x64-3'><l\141\x62e\154 f\x6f\162='\164e\170t-i\156pu\x74' \x63l\x61s\x73=' \146\x6f\x72m-\x63o\x6et\162o\x6c-\x6c\141\142e\154'>Nama</\154abel></\144\x69\x76>
<di\166 \x63\154\141ss='\x63o\154-6 \143o\x6c-m\x64-9'><label \146or='\x74\x65\x78\164-\x69np\165\164' \143l\x61\163\x73=' \x66\x6f\162m-\143\157n\x74r\157\x6c-\154a\x62e\x6c'>$r[nama]</lab\x65l></\x64\x69v>
</\144i\x76>
<\144\x69v \x63l\x61s\163='r\157\167 \146\157rm-gr\157\165p'>
<\144\151v \143\154\x61ss='c\x6f\x6c \x63\157\154-6 c\x6f\154-\155d-3'><\x6ca\x62e\x6c \x66\x6fr='t\145\170t-\x69\156p\165\164' \x63\x6c\x61ss=' \146\157r\155-c\157\156\x74\162o\154-la\x62\x65\x6c'>\x4e\111S</\154ab\x65\154></\x64\x69v>
<\x64iv \x63\x6c\141ss='co\154-6 \x63o\x6c-\x6d\144-9'><l\x61\142\x65\x6c \x66\157\x72='\164\145\x78t-\151\x6ep\x75t' \143la\163\163=' \x66o\x72\155-\143\157\156\x74\x72o\x6c-\x6ca\x62\145\154'>$r[nis]</l\141bel></\x64i\166>
</d\x69\166>
<d\x69v c\x6c\x61\163s='\162o\167 \x66o\162\x6d-\x67r\x6f\x75\160'>
<\x64\151v \x63las\163='\x63\157l \143o\x6c-m\144-3'><label \146\157\x72='\164e\170\x74-\151\x6e\160\x75\x74' \x63\154as\x73=' \x66o\x72\x6d-\143\157nt\x72ol-\x6cab\x65l'>\124\141\x6e\147g\x61\154 </\x6ca\x62\145l></\x64\151v>
<d\151\166 \143l\141ss='\143\x6fl \x63\x6fl-m\x64-2'><d\x69\166 c\154\141ss='\x69\x6e\x70\165t-g\162\x6f\x75p'>
<\144iv c\x6c\x61\x73\163='\x69n\160u\x74-\147r\x6fu\x70 \x64a\x74e ' \x64\x61\x74\x61-\x64a\164\145='' \144\x61t\x61-da\x74\x65-fo\x72m\141\164='\x79\x79\x79\x79-\155\x6d-\x64d'>
<s\160a\156 \x63l\141ss='\151n\x70\165\x74-gr\x6f\165\x70-\x61d\x64o\x6e'><\151 \x63\x6ca\x73s='f\x61 \x66\141-\x63\x61\154\x65\156d\141r'></i></\x73\160\x61\x6e>
<\x69\156\x70\x75\164 \143\154\141s\163='fo\x72\x6d-\x63o\156\164r\157\154' t\x79\160\x65='text' \x6e\141\x6d\145='\x74g\154' \x72\x65\x61d\157\156l\171 \x72e\x71u\151re\144 \x76\141\154\165e=''>
</\x64\x69\166></\144i\166>
</\144\x69v>
</\x64\x69\x76>
<di\166 \x63\154\141\x73\163='\x72\x6f\167 \146\157r\x6d-\147r\x6f\x75\x70'>
<d\x69v class='\x63o\154 co\x6c-\155d-3'><\154\x61\x62el \146o\x72='t\145xt-\151n\160ut' c\154a\163\163=' \x66o\x72\155-\143\x6fnt\x72o\154-\154\x61\142\145\x6c'>Je\x6e\x69\163 P\x65lang\147\x61\162a\x6e</\x6c\141be\x6c></di\x76>
<\144\151\166 \143la\x73s= '\x63o\154 col-\155\x64-3'>
<se\154e\143t \156\x61\155\145='\x69\172i\x6e' \151\x64='s\145\x6c\x65\143t' \x63l\141s\x73='f\157\162\155-\x63\x6f\156\164r\x6f\154'>
<\x6f\160\x74\x69\x6f\156 v\141\154\165\x65='0'>\x50le\141\x73e \x73\x65\x6c\x65\x63\x74</\157\x70t\x69\x6f\x6e>
<\157pt\x69\157\156 \166a\x6c\x75\145='T\145\x72\154a\x6d\x62a\164' >\x54\145rl\x61\x6db\x61t</o\x70\x74i\x6f\156>
<o\x70\x74\x69\157\156 \166\141\x6c\x75\145='\115\x65\155\142o\x6cos' >\115\x65\155bo\x6c\157\163</\157\160\164io\156>
<\157p\x74\151\157\156 \x76\141\154ue='\102\145r\x6b\145\154a\x68\151' >\102\145\162\153\x65\x6c\x61\150\151</o\160ti\x6f\x6e>
<o\160t\151\157n \x76\141l\x75e='\x4d\145\x72o\153\x6f\x6b' >\x4d\145\x72\157k\157\153</\157pt\151\x6fn>
<\157\x70\x74\x69on \x76a\x6c\165e='\x4di\x72\141\x73' >\x4dir\x61s</\x6f\160\x74i\x6fn>
<\x6f\160\x74\x69\x6f\156 v\x61\154u\x65='\x4e\141\162kob\141' >\116\141r\153o\x62\141</\x6fpt\151\157n>
<op\164\151o\x6e v\141l\x75\x65='\124id\141k ik\x75\164 up\x61c\x61ra' >\x54i\144\141\153 ikut \165pa\x63\141r\141</\x6fpt\x69o\156>
<\x6fp\x74i\157\x6e \x76\x61l\x75\x65='\120\157\162n\157\x67\162\141\x66i \x64\x61\x6e s\x61\162a \x64i \x6d\x65\144\163\157\x73' >\x50\157\162\x6eo\147\x72\141\146\x69 dan s\x61\x72\141 d\x69 \x6de\144\x73\x6f\x73</\157\x70\x74\151\157\x6e>
<o\160\164i\x6fn va\x6cue='\115\x65\156c\x65\x6da\x72\153\141n na\155\x61 b\141\x69\x6b \x73\x65k\x6f\x6c\141\x68' >\115\145n\143\145ma\x72\x6ba\x6e \156\141m\141 \x62a\151k \x73e\x6bo\154a\x68</\157\160\x74\x69on>
<\157\x70\164\x69o\x6e \x76\x61l\x75e='\x4del\x61\x77\141\156 g\x75r\x75' >\115el\141\x77a\156 \x67u\x72u</\x6fp\x74i\x6f\x6e>
<\157\x70ti\x6f\156 \166a\x6c\x75\145='\124id\x61k bers\x65\x72aga\x6d \x6ceng\x6b\141p' >Ti\x64\x61k \142\145r\163\x65\162\x61\147\x61\x6d \154\145\156\x67k\x61\x70</\x6f\x70\164\151o\156>
<o\160ti\x6f\x6e \166\x61l\165e='\x4d\x65n\143\x75\x72i' >\x4de\x6e\x63\165\162\151</\x6f\160t\x69\x6f\156>
<o\x70\164i\157\x6e \x76a\x6cu\145='\x4d\x65\155\x61l\x73\x75k\x61n \163u\x72\141t \151\x7ai\x6e' >\x4de\155\x61\154s\165\x6b\141\156 \x73u\162a\x74 i\172\151\x6e</\157p\164\x69\157\x6e>
</\x73\145\x6c\x65\x63\164>
</\x64\151\x76>
</\x64\151\166>
<\x64i\x76 \143\154\x61\x73s='\x72\157w \x66\157\x72\155-gro\x75\x70'>
<\144iv cla\x73s='co\154 \143\x6fl-\155\144-3'><\x6ca\x62\x65\x6c \146o\162='\164e\170\x74-\x69\x6eput' cl\141\x73\x73=' \146\157\x72\155-c\157\x6e\164ro\154-lab\145\x6c'>T\x69nda\x6b\141\156</\154\x61\142\x65l></\x64i\166>
<di\166 \143l\141\x73s='\x63ol-12 \143\x6f\x6c-\155\144-9'><\x74e\x78\x74\141\162\145\x61 \x6e\141m\145='\x6b\x65\x74e\162\x61ng\141\156' \x63la\x73\163='fo\x72\155-\143o\156\x74\162\x6f\154'></\164\145xt\141\x72\145\x61></\144\x69\x76>
</\144\151v>
<\144\x69\x76 id='p\x6f\x70\x75p\061'></\x64\151\166>
<\143\x65\x6e\x74\x65\162><d\x69\166 \151\144='lo\x61d\151\156g'></d\x69\x76></\143en\x74\x65r><\x62r>
<d\151\x76 \151\144='r\x65su\x6c\x74'></d\x69\x76>
<\x64iv \143l\141s\163='\162\157\167 \146o\x72m-gr\x6f\x75p'>
<\x64\151\166 \143\x6c\141ss='c\x6fl \x63\x6f\x6c-\155\144-3'><\154a\x62\145\154 \146\x6fr='\x74\x65\x78\164-\x69\156\160\x75t' \x63\x6c\141\163s=' \x66\x6f\x72\x6d-\x63o\156\164r\157\x6c-\x6c\141b\x65\154'>Fo\164o</\154\x61\x62\x65\x6c></\x64iv>
<\144\x69v \x63la\163s='\x63\x6fl-12 \x63\157\x6c-\155\144-9'>
<\x64i\166 \x63\154\141\x73\x73='\x69\x6d\141g\x65-u\x70\x6c\x6fa\144'>
<\x6c\x61b\x65\154 \x66\x6f\x72='gall\x65ry-\160ho\164\157-a\x64d'>
<\x69\155\147 \x73\x72c='\153\141\x6d\145\162\x61.\x70\x6e\x67'>
</\x6c\141\142\x65\x6c>
<i\x6e\x70\x75t \x74\171p\145='\146\x69\154\x65' \x6e\x61\155\x65='\x461' \141cc\145\160\164='\x69m\141\x67\145/*' \x69\144='\x67\141\154\154\145\x72\x79-\x70\150\x6ft\x6f-\x61d\144' \x6du\x6c\164\x69\x70\x6c\x65='\155u\x6ct\x69pl\145' \162e\x71\x75\x69\162\145\144>
</\x64\x69\x76>
<\142\162>
<\x64i\x76 \143\x6ca\x73s='\x67all\145\162\x79'></\144i\166>
</di\166>
</\x64i\166>
</d\x69\166>
</\144\x69\x76>
<\144\x69\x76 \143\154\x61s\163='\x63\x61\x72\144-\x66oo\x74\145\162'>
<but\x74\x6f\x6e t\x79p\145='submit' \x63\154a\163s='\x62\164\x6e \x62t\x6e-p\x72\151\x6d\x61\162y b\x74\x6e-s\x6d'><\151 \143\154\x61\x73\163='\x66a \146a-\x73a\x76e'></\151> \123\x69m\x70\141n
</\142\x75t\164o\x6e>
</\x66\x6f\x72\155>
</d\151\x76>
</\x64\151\166>
</\x64\151\166>
<\163\x63r\151p\164 sr\x63='\x6a\163/\142\157\157t\163\164\x72\141\x70-\x64\x61\x74e\x70i\x63\x6be\x72.j\163'></s\143r\151\x70t>
<\163cr\x69\x70\164>
$('.\151n\160u\x74-g\x72\x6f\165\160.\144a\164e').datep\151\143ke\x72({\x61\x75\164\157cl\x6f\163\145: \164\x72ue, t\157\144\141\x79\x48ig\150l\x69g\150t: t\x72ue});
</s\x63\x72\151\x70\x74>
"; ?>
Function Calls
session_start | 1 |
Stats
MD5 | 2d6915cb5cf8ad76fbcae03de8b09f5c |
Eval Count | 0 |
Decode Time | 48 ms |