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 eval(base64_decode('CiBnb3RvIFA2amZqOyBaQzJIWjogZm9yZWFjaCAoJHJlc3VsdCBhcyAkZGF0YSkg..

Decoded Output download


 goto P6jfj; ZC2HZ: foreach ($result as $data) { ?>
<section class="row"><div class="align-self-center col-md-6 offset-md-3"><h1 class="mt-4 text-center">Form Update Data</h1><form method="POST"><input name="id"value="<?php  echo $data["id"]; ?>
"type="hidden"><div class="mb-3"><label class="form-label"for="inputNis">Nis</label> <input name="nis"value="<?php  echo $data["nis"]; ?>
"class="form-control"id="inputNis"placeholder="Masukan Nis Siswa"type="number"></div><div class="mb-3"><label class="form-label"for="inputNama">Nama</label> <input name="nama"value="<?php  echo $data["nama"]; ?>
"class="form-control"id="inputNama"placeholder="Masukan Nama Siswa"></div><div class="mb-3"><label class="form-label"for="inputKelas">Kelas</label> <input name="kelas"value="<?php  echo $data["kelas"]; ?>
"class="form-control"id="inputKelas"placeholder="Masukan Kelas Siswa"></div><input name="daftar"value="Update"class="btn btn-primary"type="submit"> <a class="btn btn-info text-white"href="index.php"type="button">Kembali</a></form></div></section><?php  } goto UNXCe; WBPlJ: ?>
<!doctypehtml><html lang="en"><head><meta charset="UTF-8"><meta content="width=device-width,initial-scale=1"name="viewport"><meta content="ie=edge"http-equiv="X-UA-Compatible"><title>Halaman Update data</title><link crossorigin="anonymous"href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1"rel="stylesheet"></head><body><?php  goto MuZee; MuZee: $id = $_GET["id"]; goto sKIvI; UNXCe: if (isset($_POST["daftar"])) { $id = $_POST["id"]; $nis = $_POST["nis"]; $nama = $_POST["nama"]; $kelas = $_POST["kelas"]; $query = "UPDATE tb_siswa SET nis = '{$nis}', nama = '{$nama}', kelas = '{$kelas}' WHERE id = '{$id}'"; $result = mysqli_query($koneksi, $query); if ($result) { header("location: index.php"); } else { echo "<script>alert('Data Gagal di update!')</script>"; } } goto T4MMK; sKIvI: $query = "SELECT * FROM tb_siswa WHERE id = {$id}"; goto J6DKr; J6DKr: $result = mysqli_query($koneksi, $query); goto ZC2HZ; P6jfj: include "koneksi.php"; goto WBPlJ; T4MMK: ?>
</body></htm

Did this file decode correctly?

Original Code

<?php eval(base64_decode('CiBnb3RvIFA2amZqOyBaQzJIWjogZm9yZWFjaCAoJHJlc3VsdCBhcyAkZGF0YSkgeyA/Pgo8c2VjdGlvbiBjbGFzcz0icm93Ij48ZGl2IGNsYXNzPSJhbGlnbi1zZWxmLWNlbnRlciBjb2wtbWQtNiBvZmZzZXQtbWQtMyI+PGgxIGNsYXNzPSJtdC00IHRleHQtY2VudGVyIj5Gb3JtIFVwZGF0ZSBEYXRhPC9oMT48Zm9ybSBtZXRob2Q9IlBPU1QiPjxpbnB1dCBuYW1lPSJpZCJ2YWx1ZT0iPD9waHAgIGVjaG8gJGRhdGFbIlwxNTFcMTQ0Il07ID8+CiJ0eXBlPSJoaWRkZW4iPjxkaXYgY2xhc3M9Im1iLTMiPjxsYWJlbCBjbGFzcz0iZm9ybS1sYWJlbCJmb3I9ImlucHV0TmlzIj5OaXM8L2xhYmVsPiA8aW5wdXQgbmFtZT0ibmlzInZhbHVlPSI8P3BocCAgZWNobyAkZGF0YVsiXHg2ZVx4NjlceDczIl07ID8+CiJjbGFzcz0iZm9ybS1jb250cm9sImlkPSJpbnB1dE5pcyJwbGFjZWhvbGRlcj0iTWFzdWthbiBOaXMgU2lzd2EidHlwZT0ibnVtYmVyIj48L2Rpdj48ZGl2IGNsYXNzPSJtYi0zIj48bGFiZWwgY2xhc3M9ImZvcm0tbGFiZWwiZm9yPSJpbnB1dE5hbWEiPk5hbWE8L2xhYmVsPiA8aW5wdXQgbmFtZT0ibmFtYSJ2YWx1ZT0iPD9waHAgIGVjaG8gJGRhdGFbIlx4NmVceDY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