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 /* This file is protected by copyright law and provided under license. Reverse engin..

Decoded Output download

	require_once "../../config/db.koneksi.php";
$page = isset($_POST['page']) ?intval($_POST['page']) : 1;
$rows = isset($_POST['rows']) ?intval($_POST['rows']) : 10;
$offset = ($page-1)*$rows;
$result = array();
$nama = isset($_POST['nama']) ?$_POST['nama'] : '';
$npwrd = isset($_POST['npwrd']) ?$_POST['npwrd'] : '';
if($nama!='') $a = "AND nama_bu LIKE '%$nama%'";
else $a = "";
if($npwrd!='') $b = "AND npwpd_bu LIKE '%$npwrd%'";
else $b = "";
$clause = "SELECT npwpd_bu AS npwrd, nama_bu AS nama_usaha, kd_pasar FROM t_bdusaha1 WHERE npwpd_bu IS NOT NULL $a $b ORDER BY npwpd_bu";
$rs = mysql_query($clause);
$r = mysql_num_rows($rs);
$result["total"] = $r;
$rs = mysql_query("$clause LIMIT $rows OFFSET $offset ");
$items = array();
while($row = mysql_fetch_assoc($rs)){
$ps = mysql_fetch_assoc(mysql_query("SELECT nama FROM ref_pasar WHERE CONCAT(kd_lokasi, kd_pasar) = '$row[kd_pasar]' AND kd_jenis='00' AND nomor='000'"));
$pm = mysql_fetch_assoc(mysql_query("SELECT nama_wp_daf, no_ktp_daf, almt_wp_daf, lurah_daf, camat_daf, kabupat_daf FROM t_daftar1 WHERE npwpd_daf = '$row[npwrd]'"));
$row['pasar'] = $ps['nama'];
$row['nama_pemilik'] = $pm['nama_wp_daf'];
$row['no_ktp'] = $pm['no_ktp_daf'];
$row['alamat'] = $pm['almt_wp_daf'];
$row['id_hapus'] = $row['npwrd'];
$row['npwpd_daff'] = $pm['npwpd_daf'];
array_push($items,$row);
}
$result["rows"] = $items;
echo json_encode($result);
mysql_close();

Did this file decode correctly?

Original Code

<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$GLOBALS['OOO0000O0']=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5}.$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$GLOBALS['OOO0000O0'].=$GLOBALS['OOO0000O0']{3}.$OOO000000{11}.$OOO000000{12}.$GLOBALS['OOO0000O0']{7}.$OOO000000{5};$GLOBALS['OOO000O00']=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$GLOBALS['O0O000O00']=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$GLOBALS['O0O000O00']=$O0O000O00.$OOO000000{3};$GLOBALS['O0O00OO00']=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$GLOBALS['OOO00000O']=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=0x758;eval($GLOBALS['OOO0000O0']('JE8wMDBPME8wMD0kR0xPQkFMU1snT09PMDAwTzAwJ10oJE9PTzBPME8wMCwncmInKTskR0xPQkFMU1snTzBPMDBPTzAwJ10oJE8wMDBPME8wMCwweDU4NCk7JE9PMDBPMDBPMD0kR0xPQkFMU1snT09PMDAwME8wJ10oJEdMT0JBTFNbJ09PTzAwMDAwTyddKCRHTE9CQUxTWydPME8wME9PMDAnXSgkTzAwME8wTzAwLDB4MWE4KSwnemc4ZHMxTGszNm43SUJHNUtWTTl2cGkvUlBaSHVqRVFOVCtGNG9hV0EySkRxd1hVeGJDMGhydHltWWNPZmVsUz0nLCdBQkNERUZHSElKS0xNTk9QUVJTVFVWV1hZWmFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6MDEyMzQ1Njc4OSsvJykpO2V2YWwoJE9PMDBPMDBPMCk7'));return;?>XjrLXY\m[6se5Idg5Idg5Idr0jk6QuapxHL1FPMNW/reLMvb1/rfW783W3+m49he5Isfx90zx7+3W3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XRte4PMN4uap0jibhn9qnH/o0uibQRtbUutvAn9q=bISeMoi

Function Calls

fopen 1
fread 3
strtr 2
fclose 1
urldecode 1
str_replace 1
base64_decode 3

Variables

$O000O0O00 True
$O0O000O00 fgets
$O0O00OO00 fread
$OO00O0000 1880
$OO00O00O0 require_once "../../config/db.koneksi.php"; $page = isset($..
$OOO000000 fg6sbehpra4co_tnd
$OOO00000O strtr
$OOO0000O0 base64_decode
$OOO000O00 fopen
$OOO0O0O00 index.php

Stats

MD5 13dc9f48c977a86049893c14199615cd
Eval Count 3
Decode Time 88 ms