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 /* WARNING: This file is protected by copyright law. To reverse engineer or decode t..
Decoded Output download
?><php
session_start();
$password = $_SESSION['pswd'];
$penggunaid = $_SESSION['penggunaid'];
$level = $_SESSION['level'];
if(!empty($_SESSION['penggunaid']) && !empty($_SESSION['pswd']))
{
include("library/config.php");
$cek="SELECT * FROM pengguna WHERE penggunaid='$penggunaid' AND password='$password' AND aktif =''";
$result=mysql_query($cek);
$loginData = mysql_fetch_array($result);
$hasil=mysql_num_rows($result);
if (empty($hasil))
{
header("location:login.php");
exit;
}
else
{
if($penggunaid =="goestoe" And $password =="bad9f9f8aae8eecf8" And $level=="SuperAdmin") {
$_SESSION['SES_SUPERADMIN'] = "SuperAdmin";
$_SESSION['SES_LOGIN'] = $loginData['penggunaid'];
}
elseif($level=="User") {
$_SESSION['SES_USER'] = "User";
$_SESSION['SES_LOGIN'] = $loginData['penggunaid'];
}
elseif($level=="Admin") {
$_SESSION['SES_ADMIN'] = "Admin";
$_SESSION['SES_LOGIN'] = $loginData['penggunaid'];
}
else {
$_SESSION['SES_BEACUKAI'] = "BeaCukai";
$_SESSION['SES_LOGIN'] = $loginData['penggunaid'];
}
header("location:home.phppage=Halaman-Utama");
exit;
}
}
else
{
header("location:login.php");
exit;
}
//------------------------------------------
<?
Did this file decode correctly?
Original Code
<?php /* WARNING: This file is protected by copyright law. To reverse engineer or decode this file is strictly prohibited. */
$o="QAAAOzh3b3cKDXRidHRuaGlYdAAAc2Z1cy8uPAoNI3dmdHRwaAAAdWMnOicjWFRCVFROSElcIAIAd3RwYyBaAgJiaWBgcmlmbmM4OA4nAkwBpgKja2JxYmsCXQFSAgIKDQoAGA1uYS8mYmp3c34vBskEiC4nITBAIScCPwjzLi4KDXwEUGlka3JjYgAALyVrbmV1ZnV+KGRoaWFuYFAAKQ4gJQ0xDg4jZGJsOiVUQktCABBEUyctJ0FVSEondwZkJ1BPQiCAVUIA9m5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