|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 112
Members: 0
Total: 112
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Once again help...... |
|
Posted: Tue Nov 18, 2008 12:54 am |
|
|
Sidney |
Regular user |
|
|
Joined: Nov 16, 2008 |
Posts: 6 |
|
|
|
|
|
|
|
To All Master,
Need help once again to decode this script.....And i want ask to all master, what kind encryption use this script? Many2 thanks to you.....
utils.php
<?php $o086ff54c65a632836ddf80f293d1bb32="\x62\x61\x73\x65\x36\x34\x5f\x64\x65\x63\x6f\x64\x65";eval($o086ff54c65a632836ddf80f293d1bb32("JG9hNTdkZTNiY2QzYzBmZGI2NmFiNmUzZTE4OGY3ODE2ND0iXHg2MiI7CiRvMGRiNTg2NjhlZmNhZDJhOWM3NjI5N2NkNTM4NzQ1MzI9Ilx4NjIiOwokbzQwMTg5Mjc5ZDAzY2FjODg3ODFjYTYzODMyYzliMzFhPSJceDY3IjsKJG9kN2E4MTU0OTEzM2UwNzU2ZWY5OTc5NWMxNmNhZDRkYT0iXHg2NyI7CiRvZDJhYTU5NWQzNDE0MzlkMjRmNTcwNDg0ODY0MzUzNTI9Ilx4NzMiOwokb2E1N2RlM2JjZDNjMGZkYjY2YWI2ZTNlMTg4Zjc4MTY0Lj0iXHg2MSI7CiRvMGRiNTg2NjhlZmNhZDJhOWM3NjI5N2NkNTM4NzQ1MzIuPSJceDYxIjsKJG80MDE4OTI3OWQwM2NhYzg4NzgxY2E2MzgzMmM5YjMxYS49Ilx4N2EiOwokb2Q3YTgxNTQ5MTMzZTA3NTZlZjk5Nzk1YzE2Y2FkNGRhLj0iXHg3YSI7CiRvZDJhYTU5NWQzNDE0MzlkMjRmNTcwNDg0ODY0MzUzNT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EZGRtOGplYll2V3QxMzdSWjRsZkExTVlNUWtaVVF3bDMrMG5iSjFHYVgxVVlETjRMa1VRUnN4ZUlnOUV0Q3lpZ0lDV0tNWUVRVCtNc3l2S0dKYnFodEx2VzlWMFhFdHd6UEJzdmJ3VHVkcnpsTEtRckZIamdyRzVwRmRuOEE1QkFxRDJReW1TNzI1d1ZOeWREL1F0ejhNYUd6WVRSYlQ5QnVrY25vZ2RUSlFwRXRhemhJTUMxNU0yNk42MmF1QjJTU3FWTlJ1R01YcExwRWIvTjRXSGEyUW0vNVZoM1BIYzZKblBDTW5Oc0RkdWZ6SHI4TU9RMitSTlBCbEh4ZFIyYVc5Qk80NFlGZnUyaHpvckpoSGNzblRaOVI0QzhWZ2Q4bzNZcU54UzFUcHBXeXhqczFqd282d2JDUmxCbjB0NGxZRUpoaGdSdmJRMHAvcG9CZlNRRXJIUjRwM01VTDRDdDJMWlFPRkF1c1BZdHlUdS82UFRiam1CMUpGWXBySk1zbUdHbnNJVDIxSndVeEVRclNmSm5mT016M1NiaER6dk03bTdHQTNmWWZJdGJ2K1NyZ0ZqK1VZRi9vVlMva05TOGEzVk9aZGgzbGN1eTBoMThFamF5UWZtSGZVa3ltY2tPWEFObExFSTlCWmhiMUNCenp2blZBUVJnS28xMENtWnkyZE1kY0xNZ2VOcG1TRXlXMFBWTG8xcHF0ZHE5bk5GZ2R5bDdxN050RHR0WGwwMDZEQ1lxS2ZjR2VjQ3VxSkEyUHBJWEVyQmdvc1B3ajI3bElEdnArK1FtTitpZkV0WkpHN2pHeGZyZFUxd2gxL2d2dmFNNy9Edz09IikpKSk7"));?> |
|
|
|
|
|
|
|
|
Posted: Tue Nov 18, 2008 1:23 am |
|
|
mge |
Valuable expert |
|
|
Joined: Jul 16, 2008 |
Posts: 142 |
|
|
|
|
|
|
|
Code: | <?php
// Define that page
define('IN_UTILS', true);
/**
* Void function. Do nothing, but very important function ;)
*
* @author Liviu
* @since Apr 17, 2008
*/
function void() {
/* ;) */
}
###################################################################################################
### DB SETTINGS ###############################################################################
/**
* Load settings from data base, and save as constant variables (define(x,y))
*
* @author Liviu
* @since Apr 17, 2008
*/
function loadDdSettings() {
/* Make new Delegate instance */
$delegate = new Delegate();
/* Get Settings Company Name */
$settings = $delegate->getSettings();
if(is_array($settings) AND count($settings) > 0) {
foreach($settings as $setKey => $set) {
switch($set->key) {
case 'company_name':
define('SETTINGS_COMPANY_NAME', $set->value);
break;
case 'first_day_of_week':
define('SETTINGS_FIRST_DAY_OF_WEEK', $set->value);
break;
case 'announce_unknown_ips':
define('SETTINGS_ANNOUNCE_UNKNOWN_IP', $set->value);
break;
case 'unknown_ips_default_color':
define('SETTINGS_UNKNOWN_IPS_DEFAULT_COLOR', $set->value);
break;
case 'default_language':
define('SETTINGS_DEFAULT_LANGAUGE', $set->value);
break;
case 'late_entry_policy_hours':
define('SETTINGS_LATE_ENTRY_POLICY_HOURS', $set->value);
break;
case 'download_key':
define('DOWNLOAD_KEY', $set->value);
break;
}
}
}
/* Destroy Delegate instance */
unset($delegate);
}
/**
* Print Errors and Messages logs
*
* @author Agheorghiesei Liviu
* @since Feb 28, 2008
*/
function showErrorAndMessagesLogs() {
if(is_array($_SESSION['errors']) OR is_array($_SESSION['messages'])) {
echo '<div class="errors_and_messages">';
if(is_array($_SESSION['errors'])) {
echo '<div class="errors">';
foreach($_SESSION['errors'] as $key => $error) {
echo "{$error}<Br />";
}
echo '</div>';
unset($_SESSION['errors']);
}
if(is_array($_SESSION['messages'])) {
echo '<div class="messages">';
foreach($_SESSION['messages'] as $key => $message) {
echo "{$message}<Br />";
}
echo '</div>';
unset($_SESSION['messages']);
}
echo '</div>';
}
}
/**
* Check email address syntax
*
* @author Agheorghiesei Liviu-Andrei
* @since Mar 28, 2008
*/
function checkEmailSyntax($email) {
if (!preg_match("/^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/i", $email)) {
return false;
} else {
return true;
}
}
/**
* Check timeSpan syntax
*
* @author Liviu
* @since Apr 4, 2008
*/
function checkTimeSpan($data) {
if(!preg_match("/^[0-9]{1,2}+:{1}+[0-9]{2}$/", $data)) {
return false;
} else {
list($hours, $minutes) = explode(':', $data);
if($hours >= 24 OR $minutes >= 60) {
return false;
} else {
return true;
}
}
}
/**
* Repair timeSpan syntax
*
* @param string
* @return string
*
* @author Liviu
* @since May 8, 2008
*/
function repairTimeSpan($input) {
if(eregi(':', $input)) {
list($minutes, $seconds) = explode(':', $input);
if(strlen($minutes) == 1) {
$minutes = '0'. $minutes;
}
if(strlen($seconds) == 1) {
$seconds = '0'. $seconds;
}
return $minutes.':'.$seconds;
} else {
return '00:00';
}
}
function __OLD__checkTimeSpan($data) {
if(!preg_match("/^[0-9]{1,2}+:{1}+[0-9]{2}$/", $data)) {
return false;
} else {
return true;
}
}
/**
* Check report date (dd/mm/yyyy)
*
* @author Liviu
* @since Apr 8, 2008
*/
function checkReportDate($date) {
if(!preg_match("/^[0-9]{1,2}+\/+[0-9]{1,2}+\/+[0-9]{4}$/", $date)) {
return false;
} else {
return true;
}
}
/**
* Check yyyy-mm-dd date
*/
function checkStandarDate($date) {
if(!preg_match("/^[0-9]{4}+-+[0-9]{2}+-+[0-9]{2}$/", $date)) {
return false;
} else {
return true;
}
}
/**
* Check IP syntax
*
* @author Liviu
* @since Jul 24, 2008
*/
function checkIpSyntax($ip) {
// first of all the format of the ip address is matched
if(preg_match("/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/", $ip)) {
// now all the intger values are separated
$ipParts = explode('.', $ip);
// now we need to check each part can range from 0-255
foreach($ipParts as $ipPart) {
//if number is not within range of 0-255
if(intval($ipPart)>255 || intval($ipPart)<0) {
return false;
}
}
return true;
} else {
// if format of ip address doesn't matches
return false;
}
}
/**
* Remove any non-alpha chars
*
* @author Liviu
* @since Apr 1, 2008
*/
function removeNonAlpha($input) {
return ereg_replace("[^a-zA-Z0-9]", '', $input);
}
/**
* Remove any non numeric chars
*
* @author Liviu
* @since Apr 1, 2008
*/
function removeNonNumeric($input) {
return ereg_replace("[^0-9]", '', $input);
}
/**
* Print date
*
* @author Liviu
* @since Apr 1, 2008
*/
function getDateAndTime() {
$diff = 60*60*removeNonAlpha(DATE_GMT);
if(eregi("\+", DATE_GMT)) {
$gmtZero = strtotime(gmdate('Y-m-d H:i:s'));
$strtotime = $gmtZero + $diff;
return date(DATE_FORMAT, $strtotime);
} elseif(eregi('-', DATE_GMT)) {
$gmtZero = strtotime(gmdate('Y-m-d H:i:s'));
$strtotime = $gmtZero - $diff;
return date(DATE_FORMAT, $strtotime);
} else {
return date(DATE_FORMAT, strtotime(gmdate('Y-m-d H:i:s')));
}
}
/**
* Get real ip address
*
* @author Liviu
* @since Jul 29, 2008
*/
function getRealIp() {
// check ip from share internet
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];
// to check ip is pass from proxy
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
// Return the ip
return $ip;
}
/**
* Print coloare Location IP
*
* @author Liviu
* @since Jul 24, 2008
*
* @param string
* @param object
* @return string
*/
function printColorateIp($myIp, $delegate, $showAddIco = false, $showAnnounceIco = false) {
global $lang;
$loggedUser = $delegate->getUserById($_SESSION['userId']);
if(SETTINGS_ANNOUNCE_UNKNOWN_IP == 1 AND $loggedUser->level >= USER_LEVEL_ADMIN) {
$signalMeIcon = "<img src=". SERVER_ROOT ."/assets/images/icons/world_unknown.png alt=". $lang['ips']['unknown_ip_location'] ." title=\'". $lang['ips']['unknown_ip_location'] ."\'>";
} else {
$signalMeIcon = '';
}
if(!empty($myIp)) {
// Try to get ip from `ip` table
$ips = $delegate->getIps(array('ip' => $myIp));
// If myIp exists into `ip` table
if(is_array($ips) AND count($ips) > 0) {
$ip = $ips[0];
echo '<font color=#'. $ip->color .'>';
if(!empty($ip->tag)) {
echo str_replace("\r", '', str_replace("\n", '<br />', str_replace("\"", "\'\'", str_replace("'", "\'", $ip->tag .' ('.$ip->ip.')'))));
} else {
echo $lang['general']['unknown'] .' ('.$ip->ip.') ';
if($showAddIco) {
//echo ' ;;<a href="'. SERVER_ROOT .'/common/controller.php?action=addNewIp&ip='. $ip->ip .'"><img src='. SERVER_ROOT .'/assets/images/icons/add.png></a>';
}
}
echo '</font>';
// If myIp ins't exists into `ip` table
} else {
if(!empty($signalMeIcon)) { echo $signalMeIcon .' ;; ;;'; }
echo '<font color=#'. SETTINGS_UNKNOWN_IPS_DEFAULT_COLOR .'>';
echo $lang['general']['unknown'] .' ('. $myIp .')';
if($showAddIco) {
echo ' ;;<a href="'. SERVER_ROOT .'/common/controller.php?action=addNewIp&ip='. $myIp .'"><img src='. SERVER_ROOT .'/assets/images/icons/add.png></a>';
}
echo '</font>';
}
} else {
echo '-';
}
}
/**
* Calendar Setup
*
* @author Agheorghiesei Liviu-Andrei
* @since Mar 3, 2008
*/
function calendarSetup($inputField, $ifFormat, $timeformat, $showsTime, $button, $singleClick, $step) {
?>
<script type="text/javascript">
Calendar.setup({
inputField : "<?=$inputField?>", /** id of the input field **/
ifFormat : "<?=$ifFormat?>", /** format of the input field ("%m-%d-%Y") **/
timeformat : "<?=$timeformat?>", /** 12, 24 **/
showsTime : <?=$showsTime?>, /** will display a time selector (true, false) **/
button : "<?=$button?>", /** trigger for the calendar (button ID) **/
singleClick : <?=$singleClick?>, /** double-click mode (true, false) **/
step : <?=$step?> /** show all years in drop-down boxes (instead of every other year as default) **/
});
</script>
<?php
}
/*
###################################################################################################
### FILES MANAGER #############################################################################
*/
/**
* Upload file (just once at time)
*
* @author Agheorghiesei Liviu-Andrei
* @since Mar 5, 2008
*/
function uploadFile($onDiskName, $FILE, $directory) {
/* If file was successfully upload */
if(move_uploaded_file($FILE['tmp_name'], $directory.''.$onDiskName)) {
return true;
/* If not */
} else {
return false;
}
}
/**
* Get file extension
*
* @author Agheorghiesei Liviu-Andrei
* @since Mar 5, 2008
*/
function getFileExtension($file) {
/* If file isn't empty */
if(!empty($file)) {
$fileInfo = pathinfo($file);
return $fileInfo['extension'];
/* If file is empty, return false */
} else {
return false;
}
}
/**
* Email function
*
* @author Liviu
* @since Apr 23, 2008
*/
function sendEmail($to, $subject, $body, $from = 'passwords_no_reply@scriptoid.com') {
/* Set email headers */
$headers = "From: TimeTracker <{$from}>\r\n"
."Reply-To: {$to}\r\n"
."X-Mailer: PHP ". phpversion() ."\r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=utf-8\r\n";
$headers .= "Content-Transfer-Encoding: 8bit";
/* Try to send email */
$sendEmail = @mail($to, $subject, $body, $headers);
/* If email was sended, return true */
if($sendEmail) {
return true;
} else {
return false;
}
}
/*
###################################################################################################
### LICENSE METHODS ###########################################################################
*/
/**
* How work:
* 1 1.1 check if license file exists
* 1.2 open, read, and check if license file isn't empty
* 1.3 parse license file and make a map (array(key => value))
* 1.4 return map (array()) from point 1.3
*
* 2 2.1 compute key with md5(REG_NAME, EMAIL, MAX_PROJECTS & MAX_EMPLOYEES)
* 2.2 reverse computed key from point 2.1
* 2.3 return computed and reversed key
*
* 3 3.1 check if computed key (from point 2.3) is the same key with KEY value from license file
*
* 4 4.1 check number of projects
*
* 5 5.1 check number of users
*
* 6 6.1 check license expiry date
*/
/**
* Load license from the DB setting
*
* @return boolean/array
*
* @author Liviu
* @since Sep 16, 2008
*/
function loadLicenseFile() { // TODO: rename to loadLicense()
$delegate = new Delegate();
$licenses = $delegate->getSettings(array('key' => 'license'));
$license = $licenses[0];
/* If license didnt exists */
if(!is_object($license)) {
define('LICENSE_ERROR', 'INEXISTENT LICENSE');
return false;
/* If license exists */
} else {
/* If license value is empty */
if(empty($license->value)) {
define('LICENSE_ERROR', 'EMPTY LICENSE');
return false;
/* If license value isn't empty, return content as array() [ key => value ] */
} else {
$licenseContent = unserialize(strrev(base64_decode($license->value)));
if(is_array($licenseContent)) {
return $licenseContent;
} else {
define('LICENSE_ERROR', 'BAD LICENSE');
return false;
}
}
}
}
/**
* Executed function on load
*
* @author Liviu
* @since Apr 10, 2008
*/
function checkLicense() {
@session_start();
/* Make new Delegate instance */
$delegate = new Delegate();
/* [1] Load key as array content */
$keyArrayContent = loadLicenseFile();
if(!is_array($keyArrayContent)) {
header('Location: '. SERVER_ROOT .'/settings/settings.php');
exit();
}
###########################################################################
### [1] DEMO LICENSE ######################################################
if($keyArrayContent['LICENSE_TYPE'] == 'demo') {
$appSettings = $delegate->getSettings(array('key' => 'download_key'));
$appSetting = $appSettings[0];
/* [2] Compute key from content */
$primaryKey = md5($keyArrayContent['PRODUCT_NAME'].strrev($keyArrayContent['LICENSE_TYPE']).$keyArrayContent['EXPIRY_DATE'].$keyArrayContent['LICENSE_DATE'].$keyArrayContent['MAX_PROJECTS'].strrev($appSetting->value).$keyArrayContent['MAX_USERS']);
$computedKey = substr($primaryKey, 0, 10);
$computedKey .= '-'.substr(strrev($primaryKey), 0, 5);
$computedKey .= '-'.substr(strrev($primaryKey), -14, 3);
/* [3] Check if computed key the same with the existent key */
if($computedKey != $keyArrayContent['DEMO_KEY']) {
$_SESSION['errors'][] = 'BAD LICENSE!';
header('Location: '. SERVER_ROOT .'/settings/settings.php');
exit();
}
###########################################################################
### [2] FULL LICENSE ######################################################
} else {
$computedKey = md5(
$keyArrayContent['PRODUCT_NAME'] .
$keyArrayContent['LICENSE_TYPE'] .
// $keyArrayContent['BUYER_COMPANY'] .
// $keyArrayContent['BUYER_NAME'] .
strrev($keyArrayContent['BUYER_EMAIL']) .
// $keyArrayContent['BUYER_COUNTY'] .
strtolower(substr(base64_encode($keyArrayContent['PURCHASE_DATE']), 0, 5)) .
$keyArrayContent['EXPIRY_DATE'] .
$keyArrayContent['MAX_PROJECTS'] .
$keyArrayContent['MAX_USERS'] .
$keyArrayContent['SERIAL'] .
strrev($keyArrayContent['ACTIVATION_KEY'])
);
/* For more security */
$computedKey = strrev($computedKey) .'-'
. substr(md5(strrev($keyArrayContent['BUYER_EMAIL'])), 0, 16).'-'
. substr(md5($keyArrayContent['ACTIVATION_KEY']), 8, 8) .'-'
. strtolower(strrev(substr(base64_encode($keyArrayContent['LICENSE_DATE']), 4, 4)));
/* [3] Check if computed key the same with the existent key */
if($computedKey != $keyArrayContent['LICENSE_KEY']) {
$_SESSION['errors'][] = 'BAD LICENSE!';
header('Location: '. SERVER_ROOT .'/settings/settings.php');
exit();
}
}
###########################################################################
### REST ##################################################################
/* [4] Check number of project */
if(is_numeric($keyArrayContent['MAX_PROJECTS']) AND count($delegate->getProjects()) > $keyArrayContent['MAX_PROJECTS']) {
$_SESSION['errors'][] = "TO MANY PROJECTS! You can have maximum {$keyArrayContent['MAX_PROJECTS']} projects with current license";
header('Location: '. SERVER_ROOT .'/settings/settings.php');
exit();
}
/* [5] Check numver of users */
if(is_numeric($keyArrayContent['MAX_USERS']) AND count($delegate->getUsers()) > $keyArrayContent['MAX_USERS']) {
$_SESSION['errors'][] = "TO MANY USERS! You can have maximum {$keyArrayContent['MAX_USERS']} employees with current license";
header('Location: '. SERVER_ROOT .'/settings/settings.php');
exit();
}
/* [6] Check expiry date */
if(checkStandarDate($keyArrayContent['EXPIRY']) == true AND strtotime($keyArrayContent['EXPIRY']) < time()) {
$_SESSION['errors'][] = "EXPIRED LICENSE! License expired on ". date("M d, Y", strtotime($keyArrayContent['EXPIRY'])) ."";
header('Location: '. SERVER_ROOT .'/settings/settings.php');
exit();
}
/* Destroy Delegate instance */
unset($delegate);
}
$scriptName = $_SERVER['SCRIPT_NAME'];
if(!eregi('index', $scriptName) AND !eregi('controller.php', $scriptName) AND !eregi('settings.php', $scriptName) AND !eregi('users.php', $scriptName) AND !eregi('addlicense.php', $scriptName)) {
/* If installer is false */
if( (INSTALLER == 'false' OR $onInstallPage = true) ) {
/* Execute license checker */
checkLicense();
}
}
### LICENSE METHODS ###########################################################################
###################################################################################################
/* If installer is false */
if( (INSTALLER == 'false' OR $onInstallPage = true) ) {
/* Execute license checker */
loadDdSettings();
}
?> |
it's using base64, rot13 encoding and gz compression. |
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|