|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 88
Members: 0
Total: 88
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
I cant decode this one ioncube file . plz help me |
|
Posted: Tue Jan 24, 2012 7:23 am |
|
|
D3v1lxvn |
Beginner |
|
|
Joined: Jan 24, 2012 |
Posts: 1 |
|
|
|
|
|
|
|
Here is the code . plz help me . thanks
Quote: | <?php //0046b
if(!extension_loaded('ionCube Loader')){$__oc=strtolower(substr(php_uname(),0,3));$__ln='ioncube_loader_'.$__oc.'_'.substr(phpversion(),0,3).(($__oc=='win')?'.dll':'.so');if(function_exists('dl')){@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;}}}if(function_exists('dl')){@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 website operator. If you are the website operator please use the <a href="http://www.ioncube.com/lw/">ionCube Loader Wizard</a> to assist with installation.');exit(199);
?>
4+oV50CO3h7qp/A6bTERaYQsyiThHSi4WlQnB8ciSGxB86nyzwV3C+3io27MER51W7JD13DHJbiU
mx4iYZTzV2aimAu8qUkNxl+DtqwPOWRHQkdDCu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
|
|
|
|
Code: | <?php
echo "";
session_start( );
include_once( "includes/db_inc.php" );
$mysql_where = $DB_HOST;
$mysql_username = $DB_USER;
$mysql_password = $DB_PASS;
$mysql_database = $DB_NAME;
mysql_connect( $mysql_where, $mysql_username, $mysql_password );
mysql_select_db( $mysql_database );
$result = mysql_query( "SELECT password FROM gateway WHERE id = '1'" );
if ( !$result )
{
echo "Could not run query: ".mysql_error( );
exit( );
}
$row = mysql_fetch_row( $result );
$yourpassword = $_REQUEST['password'];
if ( $password != $yourpassword )
{
$msg = "Somebody is trying to access the postback URL posting the invalid password.\nThe user IP is ".$_SERVER['REMOTE_ADDR'].".";
mail( "admin@yiyd.com", "Invalid Postback Access", $msg );
echo $msg;
exit( );
}
else
{
$network_name = "Cpalead";
$subid_var = "subid";
$earn_var = "earn";
$pdtshow_var = "pdtshow";
$subid = trim( $_REQUEST[$subid_var] );
$earn = trim( $_REQUEST[$earn_var] );
$pdtshow = trim( $_REQUEST[$pdtshow_var] );
$subid_parts = explode( "i", $subid );
$stat_id = $subid_parts[1];
$parts2 = explode( "f", $subid_parts[0] );
$file_id = $parts2[0];
$user_id = $parts2[1];
$sql8 = mysql_query( "SELECT percent, affiliate_commission FROM referral_percentage WHERE id = '1'" );
$row8 = mysql_fetch_array( $sql8 );
$referral_percentage = $row8['percent'];
$affiliate_percent = $row8['affiliate_commission'];
$sql1 = mysql_query( "select conversion from conversions where id = '{$stat_id}'" );
$row9 = mysql_fetch_array( $sql1 );
$conversion = $row9['conversion'];
}
if ( $conversion == 1 )
{
echo "The same conversion can't be sent twice.";
exit( );
}
else
{
$now = date( "Y-m-d H:i:s" );
$sql2 = mysql_query( "update conversions set conversion = 1, conversion_time = '{$now}' where id='{$stat_id}'" );
$sql4 = mysql_query( "select user_name, referrer_id from users where id = '{$user_id}'" );
$row4 = mysql_fetch_array( $sql4 );
$user_name = $row4['user_name']." (User ID: {$user_id})";
$sql5 = mysql_query( "select file_title, file_name from file_uploader where upload_id = '{$file_id}'" );
$row5 = mysql_fetch_array( $sql5 );
$user_string = $user_name." had an offer completed while downloading file: ".$row5['file_name']." (".$row5['file_title']."). ";
$referal_string = $user_name." had an offer completed while downloading file: ".$row5['file_name']." (".$row5['file_title']."). This added to the users referal earnings.";
$credit_amount = round( $earn * $affiliate_percent, 2 );
$admin_price = $earn;
$referrer_id = $row4['referrer_id'];
}
if ( $referrer_id == 0 )
{
$sql7 = mysql_query( "insert into user_earnings set user_id = '{$user_id}', amount = '{$credit_amount}', description = '{$user_string}', earn_date = '{$now}', earn_type ='direct'" );
}
else
{
$referral_credit = round( $credit_amount * $referral_percentage, 2 );
$user_credit = round( $credit_amount * ( 1 - $referral_percentage ), 2 );
$sql9 = mysql_query( "insert into user_earnings set user_id = '{$user_id}', amount = '{$user_credit}', description = '{$user_string}', earn_date = '{$now}', earn_type ='direct'" );
$sql10 = mysql_query( "insert into user_earnings set user_id = '{$referrer_id}', amount = '{$referral_credit}', description = '{$referal_string}', earn_date = '{$now}', earn_type ='referral'" );
}
$sql10 = mysql_query( "insert into admin_earnings set user_id = '{$user_id}', amount = '{$admin_price}', converted_date = '{$now}'" );
echo "Success";
echo "\r\n";
?>
|
|
|
|
|
|
|
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
|
|
|
|
|
|