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 $_F=__FILE__;$_X='P2lCP1ouWg1Wc0gyV1E5TSg+J1hYaDJPSEhNMj1zT0hYWi5aJz4pOw1WDVYkWmV4TT..

Decoded Output download

<?php ?><?php
include ('../connection.php');
$page = isset($_POST['page']) ? intval($_POST['page']) : 1;
$rows = isset($_POST['rows']) ? intval($_POST['rows']) : 10;
$itemid = isset($_POST['itemid']) ? mysqli_real_escape_string($aVar, $_POST['itemid']) : '';
$id_spk = '';
if (isset($_GET['id_spk'])) {
    $id_spk = $_GET['id_spk'];
}
$offset = ($page - 1) * $rows;
$result = array();
$where = "(kodebarang like '%$itemid%' or namabarang like '%$itemid%' or joborder like '%$itemid%')";
$rs = mysqli_query($aVar, "select count(*) from akunting  where (aktif='2' or aktif=0) and jurnal='PemakaianBahan' and debet=0 and gudang=0 and " . $where);
$row = mysqli_fetch_row($rs);
$result["total"] = $row[0];
$rs = mysqli_query($aVar, "select * from akunting  where (aktif='2' or aktif=0) and jurnal='PemakaianBahan' and debet=0 and gudang=0 and " . $where . " order by tanggal desc,nobukti,id_account desc limit $offset,$rows");
$items = array();
while ($row = mysqli_fetch_object($rs)) {
    array_push($items, $row);
}
$result["rows"] = $items;
echo json_encode($result);
?>

Did this file decode correctly?

Original Code

<?php $_F=__FILE__;$_X='P2lCP1ouWg1Wc0gyV1E5TSg+J1hYaDJPSEhNMj1zT0hYWi5aJz4pOw1WDVYkWmV4TT5TPnNubk09KD4kX203cFRqPidaZXhNJz5kPik+Pz5zSD1jZVcoPiRfbTdwVGo+J1pleE0nPmQ+KT46PjA7DVYkek99bj5TPnNubk09KD4kX203cFRqPid6T31uJz5kPik+Pz5zSD1jZVcoPiRfbTdwVGo+J3pPfW4nPmQ+KT46PjBhOw1WJHM9TVlzOT5TPnNubk09KD4kX203cFRqPidzPU1ZczknPmQ+KT4/PllxbnZXc196TWVXX01uMmVaTV9uPXpzSHgoPiRlNmV6L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bi4oPiRzPU1Zbiw+JHpPfT4pOw1WbA1WJHpNblFXPWo+InpPfW4iPmQ+Uz4kcz1NWW47DVYNVk0yLk8+Cm5PSF9NSDJPOU0oPiR6TW5RVz0+KTsNVj9p';$_D=strrev('edoced_46esab');eval($_D('JF9YPWJhc2U2NF9kZWNvZGUoJF9YKTskX1g9c3RydHIoJF9YLCdTZ1BPOVlaV0ZLbXF5ZnhjakxKUnp1TTV2TnRzMWIue0I0bkNdaS8yRGwwRWhlQQpbZDg9UXA+VlhvIEh9NkdJdzdrYTNUclU8JywnPVI5b2RtcGxBRVB5azhndls1M3hyTWV6cVpIaTdZaFc8RHNHez5DY1h9MU4vYWZqNl1KdHVTIAouQlVud1ZLTFFPMjBJVEY0YicpOyRfUj1zdHJfcmVwbGFjZSgnX19GSUxFX18nLCInIi4kX0YuIiciLCRfWCk7ZXZhbCgkX1IpOyRfUj0wOyRfWD0wOw='));?>

Function Calls

base64_decode 2
strrev 1
strtr 1
str_replace 1

Variables

$_R 0
$_X 0
$_F index.php
$_D base64_decode

Stats

MD5 b61d9cd2b2344b42efdc7b96be3c4fc6
Eval Count 2
Decode Time 98 ms