|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 72
Members: 0
Total: 72
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Request help - Decode PHP file |
|
Posted: Tue Jul 13, 2010 10:28 pm |
|
|
dbbrito |
Beginner |
|
|
Joined: Jul 14, 2010 |
Posts: 1 |
|
|
|
|
|
|
|
hello all,
need help decode this file:
code:
<?php /* This file is protected by copyright law and provided under license. Reverse engineering of this file is strictly prohibited. */$OOO000000=urldecode('%66%67%36%73%62%65%68%70%72%61%34%63%6f%5f%74%6e%64');$OOO0000O0=$OOO000000{4}.$OOO000000{9}.$OOO000000{3}.$OOO000000{5};$OOO0000O0.=$OOO000000{2}.$OOO000000{10}.$OOO000000{13}.$OOO000000{16};$OOO0000O0.=$OOO0000O0{3}.$OOO000000{11}.$OOO000000{12}.$OOO0000O0{7}.$OOO000000{5};$OOO000O00=$OOO000000{0}.$OOO000000{12}.$OOO000000{7}.$OOO000000{5}.$OOO000000{15};$O0O000O00=$OOO000000{0}.$OOO000000{1}.$OOO000000{5}.$OOO000000{14};$O0O000O0O=$O0O000O00.$OOO000000{11};$O0O000O00=$O0O000O00.$OOO000000{3};$O0O00OO00=$OOO000000{0}.$OOO000000{8}.$OOO000000{5}.$OOO000000{9}.$OOO000000{16};$OOO00000O=$OOO000000{3}.$OOO000000{14}.$OOO000000{8}.$OOO000000{14}.$OOO000000{8};$OOO0O0O00=__FILE__;$OO00O0000=15768;eval($OOO0000O0('JE8wMDBPME8wMD0kT09PMDAwTzAwKCRPT08wTzBPMDAsJ3JiJyk7JE8wTzAwT08wMCgkTzAwME8wTzAwLDB4NGY2KTskT08wME8wME8wPSRPT08wMDAwTzAoJE9PTzAwMDAwTygkTzBPMDBPTz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fbci6xabKtzWfVD+nE6bKqw9nXfi6xabKMab2CtQSbPLyPZ9nXK1n35Ly6h94zwsnVcJhFqOp1gWqx=
Thanks all |
|
|
|
|
|
|
|
|
Posted: Wed Jul 14, 2010 1:51 am |
|
|
tsabitah |
Valuable expert |
|
|
Joined: Jul 07, 2010 |
Posts: 328 |
Location: surabaya |
|
|
|
|
|
|
decoder not tested
Code: | <?php
include("lib/epayment/includes/configure.php");
include("lib/epayment/includes/html_output.php");
include("./lib/epayment/includes/general.php");
if (!has_rights(ACX_ACCESS)) {
header("HTTP/1.0 401 Unauthorized");
header("Location: PP_error.php?c=accessdenied");
die();
}
$inst_table = new Table();
$QUERY = "SELECT username, credit, lastname, firstname, address, city, state, country, zipcode, phone, email, fax, lastuse, activated, status, " . "freetimetocall, label, packagetype, billingtype, startday, id_cc_package_offer, cc_card.id, currency,cc_card.useralias,UNIX_TIMESTAMP(cc_card.creationdate) creationdate FROM cc_card " . "LEFT JOIN cc_tariffgroup ON cc_tariffgroup.id=cc_card.tariff LEFT JOIN cc_package_offer ON cc_package_offer.id=cc_tariffgroup.id_cc_package_offer " . "LEFT JOIN cc_card_group ON cc_card_group.id=cc_card.id_group WHERE username = '" . $_SESSION["pr_login"] . "' AND uipass = '" . $_SESSION["pr_password"] . "'";
$DBHandle = DbConnect();
$customer_res = $inst_table->SQLExec($DBHandle, $QUERY);
if (!$customer_res || !is_array($customer_res)) {
echo gettext("Error loading your account information!");
exit();
}
$customer_info = $customer_res[0];
if ($customer_info[14] != "1" && $customer_info[14] != "8") {
header("HTTP/1.0 401 Unauthorized");
header("Location: PP_error.php?c=accessdenied");
die();
}
$customer = $_SESSION["pr_login"];
getpost_ifset(array('posted', 'Period', 'frommonth', 'fromstatsmonth', 'tomonth', 'tostatsmonth', 'fromday', 'fromstatsday_sday', 'fromstatsmonth_sday', 'today', 'tostatsday_sday', 'tostatsmonth_sday', 'dsttype', 'sourcetype', 'clidtype', 'channel', 'resulttype', 'stitle', 'atmenu', 'current_page', 'order', 'sens', 'dst', 'src', 'clid', 'subscribe'));
$currencies_list = get_currencies();
$two_currency = false;
if (!isset($currencies_list[strtoupper($customer_info[22])][2]) || !is_numeric($currencies_list[strtoupper($customer_info[22])][2])) {
$mycur = 1;
} else {
$mycur = $currencies_list[strtoupper($customer_info[22])][2];
$display_currency = strtoupper($customer_info[22]);
if (strtoupper($customer_info[22]) != strtoupper(BASE_CURRENCY))
$two_currency = true;
}
$credit_cur = $customer_info[1] / $mycur;
$credit_cur = round($credit_cur, 3);
$useralias = $customer_info['useralias'];
$creation_date = $customer_info['creationdate'];
$username = $customer_info['username'];
$smarty->display('main.tpl');
echo '
<div>
<table class="tablebackgroundblue" align="center" >
<tr>
<td><img src="';
echo KICON_PATH;
echo '/personal.gif" align="left" class="kikipic"/></td>
<td width="50%"><font class="fontstyle_002">
';
echo gettext("LAST NAME");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[2];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("FIRST NAME");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[3];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("EMAIL");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[10];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("PHONE");
echo ' :</font><font class="fontstyle_007"> ';
echo $customer_info[9];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("FAX");
echo ' :</font><font class="fontstyle_007"> ';
echo $customer_info[11];
echo '</font>
</td>
<td width="50%">
<font class="fontstyle_002">';
echo gettext("ADDRESS");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[4];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("ZIP CODE");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[8];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("CITY");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[5];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("STATE");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[6];
echo '</font>
<br/><font class="fontstyle_002">';
echo gettext("COUNTRY");
echo ' :</font> <font class="fontstyle_007">';
echo $customer_info[7];
echo '</font>
</td>
</tr>
<tr>
<td></td>
<td align="right">
;;
</td>
<td align="right">
';
if (has_rights(ACX_PERSONALINFO)) {
echo ' <a href="A2B_entity_card.php?atmenu=password&form_action=ask-edit&stitle=Personal+Information"><span class="cssbutton"><font color="red">';
echo gettext("EDIT PERSONAL INFORMATION");
echo '</font></span></a>
';
}
echo ' </td>
</tr>
</table>
<br>
<table style="width:70%;margin:0 auto;" align="center" >
<tr>
<td align="center">
<table width="80%" align="center" class="tablebackgroundcamel">
<tr>
<td><img src="';
echo KICON_PATH;
echo '/gnome-finance.gif" class="kikipic"/></td>
<td width="50%">
<br><font class="fontstyle_002">';
echo gettext("CARD NUMBER");
echo ' :</font><font class="fontstyle_007"> ';
echo $customer_info[0];
echo '</font>
<br><br>
</td>
<td width="50%">
<br><font class="fontstyle_002">';
echo gettext("BALANCE REMAINING");
echo ' :</font><font class="fontstyle_007"> ';
echo $credit_cur . ' ' . $customer_info[22];
echo ' </font>
<br><br>
</td>
';
if ($customer_info[15] > 0) {
$freetimetocall_used = $A2B->FT2C_used_seconds($DBHandle, $customer_info[21], $customer_info[20], $customer_info[18], $customer_info[19]);
echo ' </tr><tr><td /><td width="50%">
<font class="fontstyle_002">';
echo gettext("CALLING PACKAGE");
echo ' :</font><br><font class="fontstyle_007"> ';
echo $customer_info[16];
echo ' </font>
</td>
<td width="50%">
<font class="fontstyle_002">
';
if (($customer_info[17] == 0) || ($customer_info[17] == 1)) {
echo gettext("PACKAGE MINUTES REMAINING");
echo ' :</font><br><font class="fontstyle_007"> ';
printf("%d:%02d of %d:%02d", intval(($customer_info[15] - $freetimetocall_used) / 60), ($customer_info[15] - $freetimetocall_used) % 60, intval($customer_info[15] / 60), $customer_info[15] % 60);
} else {
echo gettext("PACKAGE MINUTES USED");
echo ' :</font><br><font class="fontstyle_007"> ';
printf("%d:%02d", intval($freetimetocall_used / 60), $freetimetocall_used % 60);
}
echo ' </font>
</tr><tr><td /><td width="50%" /><td width="50%" />
';
}
echo ' <td valign="bottom" align="right"><img src="';
echo KICON_PATH;
echo '/help_index.gif" class="kikipic"></td>
</tr>
</table>
</td>
</tr>
</table>
';
if (!empty($subscribe)) {
if ($subscribe == "true") {
echo '<div class="msg_success" style="width:70%;margin:0 auto;" >';
echo gettext("Your subscription for an automique refill success");
echo ' </div>
';
} else {
echo ' <div class="msg_error" style="width:70%;margin:0 auto;">';
echo gettext("Your subscription for an automique refill faild");
echo ' </div>
';
}
}
echo '
';
if ($A2B->config["epayment_method"]['enable']) {
echo '
';
$instance_config_table = new Table("cc_ui_authen", "user_moip");
$QUERY = "userid = '1'";
$return = $instance_config_table->Get_list($DBHandle, $QUERY, 0);
if ($return [0][0] != '') {
echo '<div align="center"><img src="http://desenvolvedor.moip.com.br/sandbox/imgs/banner_5_1.gif"> </div>';
}
$_SESSION["moip"] = 1;
echo '
<br>
';
echo $PAYMENT_METHOD;
echo '
<table style="width:80%;margin:0 auto;" cellspacing="0" align="center" >
<tr background="';
echo Images_Path;
echo '/background_cells.gif" >
<TD valign="top" align="right" class="tableBodyRight" >
<font size="2">';
echo gettext("Click below to buy credit : ");
echo ' </font>
</TD>
<td class="tableBodyRight" >
';
$arr_purchase_amount = split(":", EPAYMENT_PURCHASE_AMOUNT);
if (!is_array($arr_purchase_amount)) {
$to_echo = 10;
} else {
if ($two_currency) {
$purchase_amounts_convert = array();
for ($i = 0; $i < count($arr_purchase_amount); $i++) {
$purchase_amounts_convert[$i] = round($arr_purchase_amount[$i] / $mycur, 2);
}
$to_echo = join(" - ", $purchase_amounts_convert);
echo $to_echo;
echo ' <font size="2">
';
echo $display_currency;
echo ' </font>
<br/>
';
}
echo ' ';
echo join(" - ", $arr_purchase_amount);
echo ' <font size="2">';
echo strtoupper(BASE_CURRENCY);
echo ' </font>
';
}
echo '
</TD>
</tr>
<tr>
<td align="center" colspan="2" class="tableBodyRight" >
<form action="checkout_payment.php" method="post">
<input type="submit" class="form_input_button" value="';
echo gettext("BUY NOW");
echo '">
<br>
</form>
</td>
</tr>
</table>
<br/>
<table style="width:80%;margin:0 auto;" cellspacing="0" align="center" >
';
if ($A2B->config['epayment_method']['paypal_subscription_enabled'] == 1) {
$vat = $_SESSION['vat'];
$amount_subscribe = $A2B->config['epayment_method']['paypal_subscription_amount'];
echo ' <tr background="';
echo Images_Path;
echo '/background_cells.gif" >
<TD valign="top" align="right" class="tableBodyRight" >
<font size="2">';
echo gettext("Click below to subscribe an automated refill : ");
echo ' </font>
</TD>
<td class="tableBodyRight" >
';
$head_desc = $amount_subscribe . " " . strtoupper(BASE_CURRENCY);
if ($vat > 0)
$head_desc .= " + " . (($vat / 100) * $amount_subscribe) . " " . strtoupper(BASE_CURRENCY) . " of " . gettext("VAT") . "";
echo $head_desc;
echo " (" . gettext("for each") . " " . $A2B->config['epayment_method']['paypal_subscription_period_number'] . " ";
switch (strtoupper($A2B->config['epayment_method']['paypal_subscription_time_period'])) {
case "D":
echo gettext("Days");
break;
case "M":
echo gettext("Months");
break;
case "Y":
echo gettext("Years");
break;
default:
break;
}
echo ")";
echo ' </td>
</tr>
<tr>
<td align="center" colspan="2" class="tableBodyRight" >
<img src="';
echo Images_Path;
echo '/payments_paypal.gif" />
</td>
</tr>
';
$desc = gettext("Automated refill") . " " . $A2B->config['epayment_method']['paypal_subscription_amount'] . " " . strtoupper(BASE_CURRENCY);
if ($vat > 0)
$desc .= " + " . (($vat / 100) * $amount_subscribe) . " " . strtoupper(BASE_CURRENCY) . " of " . gettext("VAT");
$amount_subscribe = $amount_subscribe + (($vat / 100) * $amount_subscribe);
$key = securitykey(EPAYMENT_TRANSACTION_KEY, $username . "^" . $_SESSION["card_id"] . "^" . $useralias . "^" . $creation_date);
$link = tep_href_link("A2B_recurring_payment.php?id=" . $_SESSION["card_id"] . "&key=" . $key, '', 'SSL');
$link_return = tep_href_link("userinfo.php?subscribe=true", '', 'SSL');
$link_cancel = tep_href_link("userinfo.php?subscribe=false", '', 'SSL');
echo '
<tr>
<td align="center" colspan="2" class="tableBodyRight" >
<form name="_xclick" action="';
echo PAYPAL_PAYMENT_URL;
echo '" method="post">
<input type="hidden" name="cmd" value="_xclick-subscriptions">
<input type="hidden" name="business" value="';
echo $A2B->config['epayment_method']['paypal_subscription_account'];
echo '">
<input type="hidden" name="currency_code" value="';
echo strtoupper(BASE_CURRENCY);
echo '">
<input type="hidden" name="no_shipping" value="1">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="notify_url" value="';
echo $link;
echo '">
<input type="hidden" name="return" value="';
echo $link_return;
echo '">
<input type="hidden" name="cancel_return" value="';
echo $link_cancel;
echo '">
<input type="hidden" name="item_name" value="';
echo $desc;
echo '">
<input type="hidden" name="a3" value="';
echo $amount_subscribe;
echo '">
<input type="hidden" name="p3" value="';
echo $A2B->config['epayment_method']['paypal_subscription_period_number'];
echo '">
<input type="hidden" name="t3" value="';
echo $A2B->config['epayment_method']['paypal_subscription_time_period'];
echo '">
<input type="hidden" name="src" value="1">
<input type="hidden" name="sra" value="1">
<input type="submit" class="form_input_button" value="';
echo gettext("SUBSCRIPTION");
echo '">
</form>
</td>
</tr>
';
}
echo '</table>
';
} else {
echo '<br></br><br></br>
';
}
echo '</div>
';
$smarty->display('footer.tpl');
?> |
|
|
|
|
|
|
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
|
|
|
|
|
|