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 /*------------------------------------------------------------ Copyright (c) 2022-..

Decoded Output download

<?php 
/*------------------------------------------------------------ 
Copyright (c) 2022-2024 Kincai77 Pro 
License https://script.kincai77.com/page/lisensi-produk 
 
Contact Support 
Email 	: [email protected] 
Website : https://script.kincai77.com 
Company : Kincai77 Group 
Telegram: https://t.me/MycodingXD 
------------------------------------------------------------*/ 
 
// Version 
$versi = '6.3.2'; 
 
// Environment 
$cache = $versi; 
$error_env = 0; 
error_reporting($error_env); 
$conn = mysqli_connect($host, $user, $password, $database) or die(mysqli_error()); 
if (!$conn) { echo 'Database Connection Failed!'; } 
 
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on') 
	$url = "https://"; 
else 
	$url = "http://"; 
$url.= $_SERVER['HTTP_HOST']; 
$url.= $_SERVER['REQUEST_URI']; 
$dhost = $_SERVER['HTTP_HOST']; 
 
// Function 
function acak($length) { 
	$str = ""; 
	$karakter = array_merge(range('A','Z'), range('a','z'), range('0','9')); 
	$max_karakter = count($karakter) - 1; 
	for ($i=0; $i<$length; $i++) { 
		$rand = mt_rand(0, $max_karakter); 
		$str .= $karakter[$rand]; 
	} 
	return $str; 
} 
function acakpin() { 
	$str = substr(str_shuffle(123456789),0,6); 
	return $str; 
} 
function acaktext() { 
	$str = substr(str_shuffle('abcdefghijklmnopqrstuvwxyz'),0,3); 
	return $str; 
} 
function acakstring() { 
	$str = substr(str_shuffle('abcdefghijklmnopqrstuvwxyz1234567890'),0,4); 
	return $str; 
} 
function indoday(){ 
    $day = date('l'); 
    switch($day){case 'Sunday': $indoday="Minggu"; break; case 'Monday': $indoday="Senin"; break; case 'Tuesday': $indoday="Selasa"; break; case 'Wednesday': $indoday="Rabu"; break; case 'Thursday': $indoday="Kamis"; break; case 'Friday': $indoday="Jumat"; break; case 'Saturday': $indoday="Sabtu"; break; default: $indoday=""; break;} 
    return $indoday; 
} 
function indodm($dm) { 
    $BulanIndo = array("Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"); 
    $tahun = substr($dm, 0, 4); 
    $bulan = substr($dm, 5, 2); 
    $tgl = substr($dm, 8, 2); 
    $result = $tgl." ".$BulanIndo[(int)$bulan-1]; 
    return($result); 
} 
function indomy($my) { 
    $BulanIndo = array("Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"); 
    $tahun = substr($my, 0, 4); 
    $bulan = substr($my, 5, 2); 
    $tgl = substr($my, 8, 2); 
    $result = $BulanIndo[(int)$bulan-1]." ".$tahun; 
    return($result); 
} 
function indodmy($dmy) { 
    $BulanIndo = array("Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember"); 
    $tahun = substr($dmy, 0, 4); 
    $bulan = substr($dmy, 5, 2); 
    $tgl = substr($dmy, 8, 2); 
    $result = $tgl." ".$BulanIndo[(int)$bulan-1]." ".$tahun; 
    return($result); 
} 
function input($data) { 
  $data = trim($data); 
  $data = stripslashes($data); 
  $data = htmlspecialchars($data); 
  return $data; 
} 
function tglhari($e0){ 
	$ed0 = base64_decode($e0); 
	$n0 = openssl_decrypt("$ed0","AES-256-CBC","117z355812314444",0,"4444601123116221"); 
	return $n0; 
} 
require_once("tanggal.php"); 
$secenctwo = encryptIt1('xOftJKSPrbHApMTiMRivk0Bl1b02vh01/Hzhro+CsnIj5H7ncLBJdxT63T0qaLNMSFF6WnFDaEJXY0RUWVoxN3FUYUpyVHlVd3BHZnlaZ2Uyb3FkVzZkN3Mzaz0='); 
function encryptIt0($plain) { 
    $key = openssl_digest($secenctwo,'SHA256',true); 
    $ivlen = openssl_cipher_iv_length('AES-128-CBC'); 
    $iv = openssl_random_pseudo_bytes($ivlen); 
    $cipraw = openssl_encrypt($plain,'AES-128-CBC',$key,0,$iv); 
    $hmac = hash_hmac('SHA256',$cipraw,$key,true); 
    return base64_encode($iv.$hmac.$cipraw); 
} 
function decryptIt0($ciptext) { 
    $c = base64_decode($ciptext); 
    $key = openssl_digest($secenctwo,'SHA256',true); 
    $ivlen = openssl_cipher_iv_length('AES-128-CBC'); 
    $iv = substr($c,0,$ivlen); 
    $hmac = substr($c,$ivlen,$sha2len=32); 
    $cipraw = substr($c,$ivlen+$sha2len); 
    $ori = openssl_decrypt($cipraw,'AES-128-CBC',$key,0,$iv); 
    $cmac = hash_hmac('SHA256',$cipraw,$key,true); 
    if (hash_equals($hmac,$cmac)) return $ori; 
} 
$secencone = decryptIt0('UQWHI6pLtkgoUW12owJxhYV9B2UYrA5auLJViPuPHkEm5njJEU8KZ6SQYDk7xgR4UkM1Z25yQW9ralpQSCtDdUpIcnA5eVloUXYxUmJ6ZExQQ2F3REpERDZtWT0='); 
function encryptIt($plain) { 
    $key = openssl_digest($secencone,'SHA256',true); 
    $ivlen = openssl_cipher_iv_length('AES-128-CBC'); 
    $iv = openssl_random_pseudo_bytes($ivlen); 
    $cipraw = openssl_encrypt($plain,'AES-128-CBC',$key,0,$iv); 
    $hmac = hash_hmac('SHA256',$cipraw,$key,true); 
    return base64_encode($iv.$hmac.$cipraw); 
} 
function decryptIt($ciptext) { 
    $c = base64_decode($ciptext); 
    $key = openssl_digest($secencone,'SHA256',true); 
    $ivlen = openssl_cipher_iv_length('AES-128-CBC'); 
    $iv = substr($c,0,$ivlen); 
    $hmac = substr($c,$ivlen,$sha2len=32); 
    $cipraw = substr($c,$ivlen+$sha2len); 
    $ori = openssl_decrypt($cipraw,'AES-128-CBC',$key,0,$iv); 
    $cmac = hash_hmac('SHA256',$cipraw,$key,true); 
    if (hash_equals($hmac,$cmac)) return $ori; 
} 
function script($ez){ 
    $scriptez1 = decryptIt('fUdvs5VbCIsukpHrCEw1jHb0yQ/nmkx6ceE6LqGsXdEoCJN0YLXZuNoixc177yPGTWoyVllZNFBpRHRnY3FOZjl0Z1RVZ2JOY0VyalVQNWxNNllyR0pnNlA1VT0='); 
    $scriptez2 = decryptIt('NTrv8Tk9DrF8w+W0T9E3SecW6hCxIS++EL9b9g4g75T3GBJqiCzxfD8CrNm2BFNAbTZIYjlSK0s5bHB0QXJ1ZzhwazJjQmdYaUpKUVNGT0plTi9heEtiU2tEQT0='); 
    $edz = base64_decode($ez); 
    $nz = openssl_decrypt("$edz","AES-256-CBC","$scriptez1",0,"$scriptez2"); 
    return $nz; 
} 
require_once("script.php"); 
$Softreguler = 'Softreguler'; 
function games($ea){ 
    $gamesea1 = decryptIt('cCCECJJIAYMZAnW5EbpUHKsWPC3LxJA4Sbtx4epPmS5E5UdsuXSfdLJHVIo5Q005ZTdSejl0U3l2R0VVSDh1R2RVdEd2S0tDaEpDbi96YjVzQS9uUHBXMHpxWT0='); 
    $gamesea2 = decryptIt('ZXXhB6VZBfDhsFBCZERknt0r8i/SRD17ea9UUpv06UX1tnQalS8L/JqDx9oTmz4PQWtwc3RYaUVMZ3pTTUpNMm9YdkJWbGVaZ040R1c0MEdZY2MvSDZjeTkwYz0='); 
    $eda = base64_decode($ea); 
    $na = openssl_decrypt("$eda","AES-256-CBC","$gamesea1",0,"$gamesea2"); 
    return $na; 
} 
define('APP_NAME',$scriptnamexd); 
header('X-Powered-By: '.$scriptnamexd); 
$wagateways = decryptIt('9rjL95OlpaZ60YfTRqK/pAB5QC8TdmQT9VJS8a8Q5j7H+J4U91HLe8Lwp4TSIFe7L29kMHE5dXZDd2daM2RrTENqZEh0Zz09'); 
function dreambook($e1){ 
    $ed1 = base64_decode($e1); 
    $n1 = openssl_decrypt("$ed1","AES-256-CBC","1278823Zaz355699",0,"9912345668856010"); 
    return $n1; 
} 
function dreambooks($e2){ 
    $ed2 = base64_decode($e2); 
    $n2 = openssl_decrypt("$ed2","AES-256-CBC","127z3558823Za699",0,"9912601034566885"); 
    return $n2; 
} 
function livedraw($e3){ 
    $ed3 = base64_decode($e3); 
    $n3 = openssl_decrypt("$ed3","AES-256-CBC","1178355812323321",0,"4324541123116221"); 
    return $n3; 
} 
function alllivedraw($e4){ 
    $ed4 = base64_decode($e4); 
    $n4 = openssl_decrypt("$ed4","AES-256-CBC","1178366812323321",0,"4324576523116221"); 
    return $n4; 
} 
function alldraw($e5){ 
    $ed5 = base64_decode($e5); 
    $n5 = openssl_decrypt("$ed5","AES-256-CBC","1178366812323322",0,"4324576523116211"); 
    return $n5; 
} 
function statist($e6){ 
    $ed6 = base64_decode($e6); 
    $n6 = openssl_decrypt("$ed6","AES-256-CBC","7878366812323322",0,"4324576523116267"); 
    return $n6; 
} 
function statistiks($e7){ 
    $ed7 = base64_decode($e7); 
    $n7 = openssl_decrypt("$ed7","AES-256-CBC","7878364321323322",0,"4324543223116267"); 
    return $n7; 
} 
function statisticall($e7){ 
    $ed7 = base64_decode($e7); 
    $n7 = openssl_decrypt("$ed7","AES-256-CBC","7878364321323322",0,"4324543223116267"); 
    return $n7; 
} 
function prediksi($e8){ 
    $ed8 = base64_decode($e8); 
    $n8 = openssl_decrypt("$ed8","AES-256-CBC","7833364321323322",0,"4324543223113367"); 
    return $n8; 
} 
?> 

Did this file decode correctly?

Original Code

<?php
/*------------------------------------------------------------
Copyright (c) 2022-2024 Kincai77 Pro
License https://script.kincai77.com/page/lisensi-produk

Contact Support
Email 	: [email protected]
Website : https://script.kincai77.com
Company : Kincai77 Group
Telegram: https://t.me/MycodingXD
------------------------------------------------------------*/

// Version
$versi = '6.3.2';

// Environment
$cache = $versi;
$error_env = 0;
error_reporting($error_env);
$conn = mysqli_connect($host, $user, $password, $database) or die(mysqli_error());
if (!$conn) { echo 'Database Connection Failed!'; }

if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] === 'on')
	$url = "https://";
else
	$url = "http://";
$url.= $_SERVER['HTTP_HOST'];
$url.= $_SERVER['REQUEST_URI'];
$dhost = $_SERVER['HTTP_HOST'];

// Function
function acak($length) {
	$str = "";
	$karakter = array_merge(range('A','Z'), range('a','z'), range('0','9'));
	$max_karakter = count($karakter) - 1;
	for ($i=0; $i<$length; $i++) {
		$rand = mt_rand(0, $max_karakter);
		$str .= $karakter[$rand];
	}
	return $str;
}
function acakpin() {
	$str = substr(str_shuffle(123456789),0,6);
	return $str;
}
function acaktext() {
	$str = substr(str_shuffle('abcdefghijklmnopqrstuvwxyz'),0,3);
	return $str;
}
function acakstring() {
	$str = substr(str_shuffle('abcdefghijklmnopqrstuvwxyz1234567890'),0,4);
	return $str;
}
function indoday(){
    $day = date('l');
    switch($day){case 'Sunday': $indoday="Minggu"; break; case 'Monday': $indoday="Senin"; break; case 'Tuesday': $indoday="Selasa"; break; case 'Wednesday': $indoday="Rabu"; break; case 'Thursday': $indoday="Kamis"; break; case 'Friday': $indoday="Jumat"; break; case 'Saturday': $indoday="Sabtu"; break; default: $indoday=""; break;}
    return $indoday;
}
function indodm($dm) {
    $BulanIndo = array("Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember");
    $tahun = substr($dm, 0, 4);
    $bulan = substr($dm, 5, 2);
    $tgl = substr($dm, 8, 2);
    $result = $tgl." ".$BulanIndo[(int)$bulan-1];
    return($result);
}
function indomy($my) {
    $BulanIndo = array("Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember");
    $tahun = substr($my, 0, 4);
    $bulan = substr($my, 5, 2);
    $tgl = substr($my, 8, 2);
    $result = $BulanIndo[(int)$bulan-1]." ".$tahun;
    return($result);
}
function indodmy($dmy) {
    $BulanIndo = array("Januari", "Februari", "Maret", "April", "Mei", "Juni", "Juli", "Agustus", "September", "Oktober", "November", "Desember");
    $tahun = substr($dmy, 0, 4);
    $bulan = substr($dmy, 5, 2);
    $tgl = substr($dmy, 8, 2);
    $result = $tgl." ".$BulanIndo[(int)$bulan-1]." ".$tahun;
    return($result);
}
function input($data) {
  $data = trim($data);
  $data = stripslashes($data);
  $data = htmlspecialchars($data);
  return $data;
}
function tglhari($e0){
	$ed0 = base64_decode($e0);
	$n0 = openssl_decrypt("$ed0","AES-256-CBC","117z355812314444",0,"4444601123116221");
	return $n0;
}
require_once("tanggal.php");
$secenctwo = encryptIt1('xOftJKSPrbHApMTiMRivk0Bl1b02vh01/Hzhro+CsnIj5H7ncLBJdxT63T0qaLNMSFF6WnFDaEJXY0RUWVoxN3FUYUpyVHlVd3BHZnlaZ2Uyb3FkVzZkN3Mzaz0=');
function encryptIt0($plain) {
    $key = openssl_digest($secenctwo,'SHA256',true);
    $ivlen = openssl_cipher_iv_length('AES-128-CBC');
    $iv = openssl_random_pseudo_bytes($ivlen);
    $cipraw = openssl_encrypt($plain,'AES-128-CBC',$key,0,$iv);
    $hmac = hash_hmac('SHA256',$cipraw,$key,true);
    return base64_encode($iv.$hmac.$cipraw);
}
function decryptIt0($ciptext) {
    $c = base64_decode($ciptext);
    $key = openssl_digest($secenctwo,'SHA256',true);
    $ivlen = openssl_cipher_iv_length('AES-128-CBC');
    $iv = substr($c,0,$ivlen);
    $hmac = substr($c,$ivlen,$sha2len=32);
    $cipraw = substr($c,$ivlen+$sha2len);
    $ori = openssl_decrypt($cipraw,'AES-128-CBC',$key,0,$iv);
    $cmac = hash_hmac('SHA256',$cipraw,$key,true);
    if (hash_equals($hmac,$cmac)) return $ori;
}
$secencone = decryptIt0('UQWHI6pLtkgoUW12owJxhYV9B2UYrA5auLJViPuPHkEm5njJEU8KZ6SQYDk7xgR4UkM1Z25yQW9ralpQSCtDdUpIcnA5eVloUXYxUmJ6ZExQQ2F3REpERDZtWT0=');
function encryptIt($plain) {
    $key = openssl_digest($secencone,'SHA256',true);
    $ivlen = openssl_cipher_iv_length('AES-128-CBC');
    $iv = openssl_random_pseudo_bytes($ivlen);
    $cipraw = openssl_encrypt($plain,'AES-128-CBC',$key,0,$iv);
    $hmac = hash_hmac('SHA256',$cipraw,$key,true);
    return base64_encode($iv.$hmac.$cipraw);
}
function decryptIt($ciptext) {
    $c = base64_decode($ciptext);
    $key = openssl_digest($secencone,'SHA256',true);
    $ivlen = openssl_cipher_iv_length('AES-128-CBC');
    $iv = substr($c,0,$ivlen);
    $hmac = substr($c,$ivlen,$sha2len=32);
    $cipraw = substr($c,$ivlen+$sha2len);
    $ori = openssl_decrypt($cipraw,'AES-128-CBC',$key,0,$iv);
    $cmac = hash_hmac('SHA256',$cipraw,$key,true);
    if (hash_equals($hmac,$cmac)) return $ori;
}
function script($ez){
    $scriptez1 = decryptIt('fUdvs5VbCIsukpHrCEw1jHb0yQ/nmkx6ceE6LqGsXdEoCJN0YLXZuNoixc177yPGTWoyVllZNFBpRHRnY3FOZjl0Z1RVZ2JOY0VyalVQNWxNNllyR0pnNlA1VT0=');
    $scriptez2 = decryptIt('NTrv8Tk9DrF8w+W0T9E3SecW6hCxIS++EL9b9g4g75T3GBJqiCzxfD8CrNm2BFNAbTZIYjlSK0s5bHB0QXJ1ZzhwazJjQmdYaUpKUVNGT0plTi9heEtiU2tEQT0=');
    $edz = base64_decode($ez);
    $nz = openssl_decrypt("$edz","AES-256-CBC","$scriptez1",0,"$scriptez2");
    return $nz;
}
require_once("script.php");
$Softreguler = 'Softreguler';
function games($ea){
    $gamesea1 = decryptIt('cCCECJJIAYMZAnW5EbpUHKsWPC3LxJA4Sbtx4epPmS5E5UdsuXSfdLJHVIo5Q005ZTdSejl0U3l2R0VVSDh1R2RVdEd2S0tDaEpDbi96YjVzQS9uUHBXMHpxWT0=');
    $gamesea2 = decryptIt('ZXXhB6VZBfDhsFBCZERknt0r8i/SRD17ea9UUpv06UX1tnQalS8L/JqDx9oTmz4PQWtwc3RYaUVMZ3pTTUpNMm9YdkJWbGVaZ040R1c0MEdZY2MvSDZjeTkwYz0=');
    $eda = base64_decode($ea);
    $na = openssl_decrypt("$eda","AES-256-CBC","$gamesea1",0,"$gamesea2");
    return $na;
}
define('APP_NAME',$scriptnamexd);
header('X-Powered-By: '.$scriptnamexd);
$wagateways = decryptIt('9rjL95OlpaZ60YfTRqK/pAB5QC8TdmQT9VJS8a8Q5j7H+J4U91HLe8Lwp4TSIFe7L29kMHE5dXZDd2daM2RrTENqZEh0Zz09');
function dreambook($e1){
    $ed1 = base64_decode($e1);
    $n1 = openssl_decrypt("$ed1","AES-256-CBC","1278823Zaz355699",0,"9912345668856010");
    return $n1;
}
function dreambooks($e2){
    $ed2 = base64_decode($e2);
    $n2 = openssl_decrypt("$ed2","AES-256-CBC","127z3558823Za699",0,"9912601034566885");
    return $n2;
}
function livedraw($e3){
    $ed3 = base64_decode($e3);
    $n3 = openssl_decrypt("$ed3","AES-256-CBC","1178355812323321",0,"4324541123116221");
    return $n3;
}
function alllivedraw($e4){
    $ed4 = base64_decode($e4);
    $n4 = openssl_decrypt("$ed4","AES-256-CBC","1178366812323321",0,"4324576523116221");
    return $n4;
}
function alldraw($e5){
    $ed5 = base64_decode($e5);
    $n5 = openssl_decrypt("$ed5","AES-256-CBC","1178366812323322",0,"4324576523116211");
    return $n5;
}
function statist($e6){
    $ed6 = base64_decode($e6);
    $n6 = openssl_decrypt("$ed6","AES-256-CBC","7878366812323322",0,"4324576523116267");
    return $n6;
}
function statistiks($e7){
    $ed7 = base64_decode($e7);
    $n7 = openssl_decrypt("$ed7","AES-256-CBC","7878364321323322",0,"4324543223116267");
    return $n7;
}
function statisticall($e7){
    $ed7 = base64_decode($e7);
    $n7 = openssl_decrypt("$ed7","AES-256-CBC","7878364321323322",0,"4324543223116267");
    return $n7;
}
function prediksi($e8){
    $ed8 = base64_decode($e8);
    $n8 = openssl_decrypt("$ed8","AES-256-CBC","7833364321323322",0,"4324543223113367");
    return $n8;
}
?>

Function Calls

mysqli_connect 1
error_reporting 1

Variables

$cache 6.3.2
$versi 6.3.2
$error_env 0

Stats

MD5 e591514f3ceba2c736b6b586d8528ef5
Eval Count 0
Decode Time 140 ms