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("PD9waHAgDQovKiBBUExJS0FTSSBQRU5KVUFMQU4gRFBPUyBQUk8NCiAqDQ..

Decoded Output download

?>b'<?php 
/* APLIKASI PENJUALAN DPOS PRO
 *
 * Framework DPOS BISNIS berbasis PHP
 *
 * Developed by djavasoft.com
 * Copyright (c) 2018, Djavasoft Smart Technology
 *
 * @author	Mohamad Anton Arizal, S.T
 * @copyright	Copyright (c) 2008 Djavasoft. (https://djavasoft.com/)
 *
 *
*/

date_default_timezone_set("Asia/Jakarta");
$CORE_URL			= "..";
$SID				= "";
$PORT				= "1002";
$SNAME				= "DPOS TOKO PRO";
$version			= file_get_contents("app/version.txt");
$database_engine	="sqlite"; 					//Anda bisa mengganti dengan sqlite atau mysql


/*------------------------------------ DATABASE MYSQL ------------------------------*/

if($database_engine=="mysql"){
	//MENGGUNAKAN MYSQL
	include 			"libraries/Database/mysql.class.php";	//class mysql database
	$db 				= new Database();			// instance database
	$db->dbHost			="localhost";				// database host
	$db->dbUser			="root";					// database username
	$db->dbPass			=""; 						// dabatabse password
	$db->dbName			=""; 				// database name
	include 			"libraries/Database/mysql.db.php";		// fungsi mysql


}/*------------------------------------ DATABASE MYSQLi ------------------------------*/

elseif($database_engine=="mysqli"){
	//MENGGUNAKAN MYSQL
	include 			"libraries/Database/mysqli.class.php";	//class mysql database
	$db 				= new Database();			// instance database
	$db->dbHost			="localhost";				// database host
	$db->dbUser			="root";					// database username
	$db->dbPass			=""; 						// dabatabse password
	$db->dbName			=""; 				// database name
	include 			"libraries/Database/mysqli.db.php";		// fungsi mysql

/*------------------------------------ DATABASE SQLITE ------------------------------*/

}elseif($database_engine=="sqlite"){
	//MENGGUNAKAN SQLITE3
	$storagelocation 	= __DIR__ ."/"; 						//direktori root
	$db_file 			= $storagelocation."/db/database.db";	//direktori menyimpan file database sqlite
	$db					= new SQLite3($db_file);				// instance database
	include 			"libraries/Database/sqlite.db.php";				// fungsi sqlite
}

/*------------------------------------ LIBRARIES ------------------------------*/

$dir = "libraries/Core/*";
foreach(glob($dir) as $file) 
{
	include $file;
}


$dir = "libraries/Dpos/*";
foreach(glob($dir) as $file) 
{
	include $file;
}


include "libraries/Helper/ox000fx.inc";

/*------------------------------------ APP ------------------------------*/

$APP_DIR= __DIR__."/app";
$ASSETS_DIR= __DIR__."/assets";
?>
'

Did this file decode correctly?

Original Code

<?php @eval("?>".base64_decode("PD9waHAgDQovKiBBUExJS0FTSSBQRU5KVUFMQU4gRFBPUyBQUk8NCiAqDQogKiBGcmFtZXdvcmsgRFBPUyBCSVNOSVMgYmVyYmFzaXMgUEhQDQogKg0KICogRGV2ZWxvcGVkIGJ5IGRqYXZhc29mdC5jb20NCiAqIENvcHlyaWdodCAoYykgMjAxOCwgRGphdmFzb2Z0IFNtYXJ0IFRlY2hub2xvZ3kNCiAqDQogKiBAYXV0aG9yCU1vaGFtYWQgQW50b24gQXJpemFsLCBTLlQNCiAqIEBjb3B5cmlnaHQJQ29weXJpZ2h0IChjKSAyMDA4IERqYXZhc29mdC4gKGh0dHBzOi8vZGphdmFzb2Z0LmNvbS8pDQogKg0KICoNCiovDQoNCmRhdGVfZGVmYXVsdF90aW1lem9uZV9zZXQoIkFzaWEvSmFrYXJ0YSIpOw0KJENPUkVfVVJMCQkJPSAiLi4iOw0KJFNJRAkJCQk9ICIiOw0KJFBPUlQJCQkJPSAiMTAwMiI7DQokU05BTUUJCQkJPSAiRFBPUyBUT0tPIFBSTyI7DQokdmVyc2lvbgkJCT0gZmlsZV9nZXRfY29udGVudHMoImFwcC92ZXJzaW9uLnR4dCIpOw0KJGRhdGFiYXNlX2VuZ2luZQk9InNxbGl0ZSI7IAkJCQkJLy9BbmRhIGJpc2EgbWVuZ2dhbnRpIGRlbmdhbiBzcWxpdGUgYXRhdSBteXNxbA0KDQoNCi8qLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS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yaWVzL0NvcmUvKiI7DQpmb3JlYWNoKGdsb2IoJGRpcikgYXMgJGZpbGUpIA0Kew0KCWluY2x1ZGUgJGZpbGU7DQp9DQoNCg0KJGRpciA9ICJsaWJyYXJpZXMvRHBvcy8qIjsNCmZvcmVhY2goZ2xvYigkZGlyKSBhcyAkZmlsZSkgDQp7DQoJaW5jbHVkZSAkZmlsZTsNCn0NCg0KDQppbmNsdWRlICJsaWJyYXJpZXMvSGVscGVyL294MDAwZnguaW5jIjsNCg0KLyotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gQVBQIC0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSovDQoNCiRBUFBfRElSPSBfX0RJUl9fLiIvYXBwIjsNCiRBU1NFVFNfRElSPSBfX0RJUl9fLiIvYXNzZXRzIjsNCj8+DQo="));//Generated by Ampare PHP Encoder. For more security please use php protect before encode the php program

Function Calls

base64_decode 1

Variables

None

Stats

MD5 03583062f03ddb6ff811de5e3a8af6d1
Eval Count 1
Decode Time 89 ms