|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 101
Members: 0
Total: 101
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
What kind of code.. any helps to de code? |
|
Posted: Fri Mar 25, 2011 5:39 pm |
|
|
s4r4ny |
Regular user |
|
|
Joined: Mar 25, 2011 |
Posts: 5 |
|
|
|
|
|
|
|
<?php //003ac
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');@dl($__ln);if(function_exists('_il_exec')){return _il_exec();}$__ln='/ioncube/'.$__ln;$__oid=$__id=realpath(ini_get('extension_dir'));$__here=dirname(__FILE__);if(strlen($__id)>1&&$__id[1]==':'){$__id=str_replace('\\','/',substr($__id,2));$__here=str_replace('\\','/',substr($__here,2));}$__rd=str_repeat('/..',substr_count($__id,'/')).$__here.'/';$__i=strlen($__rd);while($__i--){if($__rd[$__i]=='/'){$__lp=substr($__rd,0,$__i).$__ln;if(file_exists($__oid.$__lp)){$__ln=$__lp;break;}}}@dl($__ln);}else{die('The file '.__FILE__." is corrupted.\n");}if(function_exists('_il_exec')){return _il_exec();}echo('Site error: the file <b>'.__FILE__.'</b> requires the ionCube PHP Loader '.basename($__ln).' to be installed by the site administrator.');exit(199);
?>
4+oV5CIgVZKuMqCxqKVh5YJ8jcfXIVADuT4o/jA92wgr7I+5sVmVh2jImV4viBTMF/A1xNmChbfi
Jtcmuh4a4cXJLDYTWfSCC4vxVfPFa0xz5VswJz0RhORa9clFWl9bSqdrih5FJYOx5eRBgTgyTurj
bq3LLR81uikgnvCuWwR0jV2mnRlLePYequcmwveSwjs/sadWV/tmTVN8x9MOSF2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wsGhbAT+hWDPicyIlQUjo9w3ubaxx+4Pqx0gmETLM/FmMAdFvEf81IZiKVJ
y3TrU3IXihs3IrNcSGVRpN3/Iy6LqC60qysWBAC6Aunj1Fga+qJE2fvC7qtVP8BQEuGzhST9YLw1
G63Fvy3zLidUGGvm0uVR3LvZG7/neBufdyVIaMUYK9Xewijua++KYUKtSBrTz4sw4yJwBdMR4RNW
DwmeglQ9+rZP5m/ysO7WKX0qSdS+Oxa+jlAO+2+PylonIKgX+8klrGNGuoioqNWJAWy7eBL4Sg8p
lO3UdFJDidHiWObCxVhZu6TovmH5eZcGkyYT2kFsR4FsHTVnEI0wwpAlNtzJh46HWARAYPtnP+gK
dW5zMQu58IHFqzvKgdX9oFWczHcEHU+GA/Sv7HR1FxSNg9/+KZjjfOrwvsPvXzigMEG1FcOtO/0P
xpxG1Y/su9ppP6C1OGnG+ANpDMX3zi5pjGXiTDiZIBTzgFBMlC0zBWFZoVpPC31zJ9pg7C8S9zfZ
FnaGroEHJ8a7EH3SvYX10CiRQZSq+8E+mcH+4m== |
|
|
|
|
|
|
|
|
Posted: Sat Jul 28, 2012 7:10 pm |
|
|
demon |
Moderator |
|
|
Joined: Sep 22, 2010 |
Posts: 485 |
|
|
|
|
|
|
|
Code: | <?php
function known_response( $status )
{
global $debug;
$status = ( boolean )$status;
$known_responses = array( "Active", "Invalid", "Expired", "Suspended" );
if ( in_array( $status, $known_responses ) )
{
$debug['response_check'] .= "Response from remote server is known";
return true;
}
$debug['response_check'] .= "Response from remote server is unknown or malformed";
return false;
}
function write_local_key( $key_file = false, $localkey = "" )
{
global $debug;
$fp = fopen( $key_file, "w" );
if ( $fp )
{
$fp_write = fwrite( $fp, $localkey );
if ( !$fp_write )
{
$debug['write_local_key'] .= "Unable to write to local key file";
return false;
}
fclose( $fp );
}
else
{
$debug['write_local_key'] .= "Unable to open local key file for writing";
return false;
}
return true;
}
function check_license( $licensekey, $localkey = "", $glob = false, $trial = false )
{
global $debug;
if ( $trial === false )
{
$localkeyseconds = 86400;
$allowcheckfailseconds = 86400;
}
else
{
$localkeyseconds = 2592000;
$allowcheckfailseconds = 3e+010;
}
$whmcsurl = "http://my.shopdev.co.uk/";
$licensing_secret_key = "gGfs6Js0hsOsg0ShdbaA";
$checkdate = date( time( ) );
$usersip = isset( $_SERVER['SERVER_ADDR'] ) ? $_SERVER['SERVER_ADDR'] : $_SERVER['LOCAL_ADDR'];
$localkeyvalid = false;
if ( $localkey )
{
$localkey = str_replace( "\n", "", $localkey );
$localdata = substr( $localkey, 0, strlen( $localkey ) - 32 );
$md5hash = substr( $localkey, strlen( $localkey ) - 32 );
if ( $md5hash == md5( $localdata.$licensing_secret_key ) )
{
$localdata = strrev( $localdata );
$md5hash = substr( $localdata, 0, 32 );
$localdata = substr( $localdata, 32 );
$localdata = base64_decode( $localdata );
$localkeyresults = unserialize( $localdata );
$originalcheckdate = $localkeyresults['checkdate'];
if ( $md5hash == md5( $originalcheckdate.$licensing_secret_key ) )
{
$localexpiry = date( time( ) - $localkeyseconds );
if ( $localexpiry < $originalcheckdate )
{
$localkeyvalid = true;
$results = $localkeyresults;
$validdomains = explode( ",", $results['validdomain'] );
if ( !in_array( $_SERVER['SERVER_NAME'], $validdomains ) )
{
$localkeyvalid = false;
$localkeyresults['status'] = "Invalid";
$results = array( );
}
}
else
{
$debug['local_key_expiry'] .= "Local key has expired.";
}
}
}
}
if ( !$localkeyvalid )
{
$postfields['licensekey'] = $licensekey;
$postfields['domain'] = $_SERVER['SERVER_NAME'];
$postfields['ip'] = $usersip;
$postfields['dir'] = substr( md5( $glob['license_key'] ), 0, 6 );
if ( function_exists( "curl_exec" ) )
{
$debug['remote_validation_method'] .= "Remote validation via cURL";
$ch = curl_init( );
curl_setopt( $ch, CURLOPT_URL, $whmcsurl."modules/servers/licensing/verify.php" );
curl_setopt( $ch, CURLOPT_POST, 1 );
curl_setopt( $ch, CURLOPT_POSTFIELDS, $postfields );
curl_setopt( $ch, CURLOPT_TIMEOUT, 30 );
curl_setopt( $ch, CURLOPT_RETURNTRANSFER, 1 );
$data = curl_exec( $ch );
curl_close( $ch );
}
else
{
$debug['remote_validation_method'] .= "Remote validation via fsock";
$fp = fsockopen( $whmcsurl, 80, $errno, $errstr, 5 );
if ( $fp )
{
$querystring = "";
foreach ( $postfields as $k => $v )
{
$querystring .= "{$k}=".urlencode( $v )."&";
}
$header = "POST ".$whmcsurl."modules/servers/licensing/verify.php HTTP/1.0\r\n";
$header .= "Host: ".$whmcsurl."\r\n";
$header .= "Content-type: application/x-www-form-urlencoded\r\n";
$header .= "Content-length: ".@strlen( $querystring )."\r\n";
$header .= "Connection: close\r\n\r\n";
$header .= $querystring;
$data = "";
@stream_set_timeout( $fp, 20 );
@fputs( $fp, $header );
$status = @socket_get_status( $fp );
while ( !feof( $fp ) && $status )
{
$data .= @fgets( $fp, 1024 );
$status = @socket_get_status( $fp );
}
@fclose( $fp );
}
else
{
$debug['remote_validation_result'] .= "Failed to communicate with remote server";
}
}
$xml_data = simplexml_load_string( "<?xml version=\"1.0\" encoding=\"UTF-8\" ?><licensing>".$data."</licensing>" );
if ( !$xml_data || known_response( $xml_data->status ) !== true )
{
$debug['remote_validation_response'] .= "Remote server failed to respond with data";
$localexpiry = date( time( ) - $localkeyseconds - $allowcheckfailseconds );
if ( $localexpiry < $originalcheckdate )
{
$debug['check_fail_contingency'] .= "Operating within contingency period";
$results = $localkeyresults;
}
else
{
$debug['check_fail_contingency'] .= "Operating outside contingency period";
$results['status'] = "Remote Check Failed";
return $results;
}
}
else
{
preg_match_all( "/<(.*?)>([^<]+)<\\/\\1>/i", $data, $matches );
$results = array( );
foreach ( $matches[1] as $k => $v )
{
$results[$v] = $matches[2][$k];
}
}
if ( $results['status'] == "Active" )
{
$results['checkdate'] = $checkdate;
$data_encoded = serialize( $results );
$data_encoded = base64_encode( $data_encoded );
$data_encoded = md5( $checkdate.$licensing_secret_key ).$data_encoded;
$data_encoded = strrev( $data_encoded );
$data_encoded = $data_encoded.md5( $data_encoded.$licensing_secret_key );
$data_encoded = wordwrap( $data_encoded, 80, "\n", true );
$results['localkey'] = $data_encoded;
}
$results['remotecheck'] = true;
}
unset( $postfields );
unset( $data );
unset( $matches );
unset( $whmcsurl );
unset( $licensing_secret_key );
unset( $checkdate );
unset( $usersip );
unset( $localkeydays );
unset( $allowcheckfaildays );
unset( $md5hash );
return $results;
}
if ( !defined( "SHOPDEV" ) )
{
exit( "Access Denied" );
}
$time_start = microtime( true );
$debug = array( );
define( "KEY_PREFIX", "SANDBOX" );
define( "TRIAL_IDENTIFIER", "TRIAL" );
define( "SKIN_PHP_DIR_PATH", "" );
define( "CUBECART_ROOT_PATH", "../../../" );
define( "GLOBAL_PATH", CUBECART_ROOT_PATH."includes/global.inc.php" );
define( "LICENSE_KEY_PATH", SKIN_PHP_DIR_PATH."license_key.php" );
define( "KEY_LOCATION", CUBECART_ROOT_PATH."includes/extra/shopdev_".strtolower( KEY_PREFIX )."_local_key.php" );
if ( file_exists( GLOBAL_PATH ) )
{
require_once( GLOBAL_PATH );
}
else
{
$debug['load_global_file'] .= "Unable to include global.inc.php file";
}
if ( file_exists( LICENSE_KEY_PATH ) )
{
require_once( LICENSE_KEY_PATH );
}
else
{
$debug['load_license_key'] .= "Unable to include license key file";
}
if ( !$license_key || strlen( $license_key ) < 1 )
{
$debug['read_license_key'] .= "License key not found";
}
if ( strpos( strtolower( $license_key ), strtolower( TRIAL_IDENTIFIER ) ) === true )
{
define( "IS_TRIAL", true );
}
$localkey = @file_get_contents( KEY_LOCATION );
if ( !$localkey )
{
$debug['read_local_key'] .= "Local key file does not exist: ".KEY_LOCATION;
}
$results = check_license( $license_key, $localkey, $glob, defined( "IS_TRIAL" ) );
if ( strpos( strtolower( $license_key ), strtolower( KEY_PREFIX ) ) === false )
{
$validate = "SKIN ERROR: License key not valid for this product";
}
else if ( $results['status'] == "Active" )
{
define( "VALIDATION_SUCCESS", true );
}
else if ( $results['status'] == "Invalid" )
{
$validate = "SKIN ERROR: License invalid";
}
else if ( $results['status'] == "Expired" )
{
$validate = "SKIN ERROR: License expired";
}
else if ( $results['status'] == "Suspended" )
{
$validate = "SKIN ERROR: License suspended";
}
else if ( IS_TRIAL === true )
{
$debug['server_response'] .= "Unknown server response (trial version)";
}
else
{
$debug['server_response'] .= "Unknown server response (full version)";
define( "VALIDATION_SUCCESS", true );
}
$debug['store_identifier'] = substr( md5( $glob['license_key'] ), 0, 6 );
if ( VALIDATION_SUCCESS === true )
{
if ( $results['localkey'] )
{
$local_key_write = write_local_key( KEY_LOCATION, $results['localkey'] );
if ( $local_key_write === true )
{
$debug['write_local_key'] .= "Local key saved successfully";
}
}
$validate = md5( md5_file( __FILE__ )."gGfs6Js0hsOsg0ShdbaA" );
}
$time_end = microtime( true );
$debug['validation_processing_time'] .= round( $time_end - $time_start, 5 )." seconds";
?>
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> Php
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
|
|
|
|
|
|