|
发表于 2018-4-9 12:00:47
|
显示全部楼层
反编译了其中一个文件。
<?php
//加密方式:Ioncube 7.X/8.X/9.X加密,代码还原率98+%以上(变量数值会有问题需手动修复)。
//VIP会员: 您好,破解:ioncube加密,本次扣金币:5个,金币余额:5个,感谢您的支持.
//此程序由【找源码】http://Www.ZhaoYuanMa.Com (VIP会员功能)在线逆向还原,QQ:7530782
?>
<?php
require_once("config/system_cfg.php");
require_once("config/dps_cfg.php");
require_once("dps_utility.php");
require_once("misc.php");
require_once("constants.php");
require_once("funcs.php");
require_once("userfuncs.php");
require_once("ias.php");
require_once("cardsys.php");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
session_start();
$dblink = _obfuscated_0D0616303E0B26370C1A2E363E042822053D1533271132_();
_obfuscated_0D253D041F0418030D252E34350F0C2C3C16390D261D22_();
$GLOBALS["_lang"] = _obfuscated_0D342A132D2F24370527250A5C11145B0F3F2B25401F22_();
$filename = redirect_tpl;
if( file_exists($filename) )
{
$page = implode("", file($filename));
$enc_hex = $_REQUEST["result"];
$pxpay = new _obfuscated_7FA7A9B297BB92C099BAB1AB93B4AC948AB5BFAFAE8A91_(DPS_URL, DPS_USERNAME, DPS_KEY);
$rsp = $pxpay->getResponse($enc_hex);
$Success = $rsp->getSuccess();
$AmountSettlement = $rsp->getAmountSettlement();
$AuthCode = $rsp->getAuthCode();
$CardName = $rsp->getCardName();
$CardNumber = $rsp->getCardNumber();
$DateExpiry = $rsp->getDateExpiry();
$DpsBillingId = $rsp->getDpsBillingId();
$BillingId = $rsp->getBillingId();
$CardHolderName = $rsp->getCardHolderName();
$DpsTxnRef = $rsp->getDpsTxnRef();
$TxnType = $rsp->getTxnType();
$TxnData1 = $rsp->getTxnData1();
$TxnData2 = $rsp->getTxnData2();
$TxnData3 = $rsp->getTxnData3();
$CurrencySettlement = $rsp->getCurrencySettlement();
$ClientInfo = $rsp->getClientInfo();
$TxnId = $rsp->getTxnId();
$CurrencyInput = $rsp->getCurrencyInput();
$EmailAddress = $rsp->getEmailAddress();
$MerchantReference = $rsp->getMerchantReference();
$ResponseText = $rsp->getResponseText();
$TxnMac = $rsp->getTxnMac();
$_SESSION["pm_ref"] = $DpsTxnRef;
$_SESSION["pm_response"] = $ResponseText;
$transid = $_SESSION["pm_transid"];
$dblink = _obfuscated_0D0616303E0B26370C1A2E363E042822053D1533271132_();
$res = mysql_query("" . "SELECT transid\r\n \t\t FROM rm_invoices\r\n \t\t WHERE transid = '" . $transid . "'\r\n \t\t ORDER BY id DESC\r\n \t\t LIMIT 1\r\n \t\t ") or exit( mysql_error($dblink) );
if( 0 < mysql_num_rows($res) )
{
_obfuscated_0D0C160A31081B3B252710111B27030F293B3F2A181222_("err_form_already_submitted");
print _obfuscated_0D0C160A31081B3B252710111B27030F293B3F2A181222_("err_form_already_submitted");
exit();
}
switch( $_SESSION["pm_source"] )
{
case payment_ucp:
if( $Success )
{
$invid = _obfuscated_0D3E10322234061E341D23152E22112101210E5C250222_($_SESSION["pm_srvid"], $_SESSION["pm_amount"], $_SESSION["pm_credaddmode"], $_SESSION["pm_transid"], paymode_dps, $DpsTxnRef, $_SESSION["pm_firstname"], $_SESSION["pm_lastname"], $_SESSION["pm_address"], $_SESSION["pm_city"], $_SESSION["pm_zip"], $_SESSION["pm_country"], $_SESSION["pm_state"]);
if( !$invid )
{
_obfuscated_0D0C160A31081B3B252710111B27030F293B3F2A181222_("err_adding_credits");
print _obfuscated_0D0C160A31081B3B252710111B27030F293B3F2A181222_("err_adding_credits");
exit();
}
$_SESSION["pm_invid"] = $invid;
$page = str_replace("{URL}", "user.php?cont=payment_success", $page);
}
else
{
$page = str_replace("{URL}", "user.php?cont=payment_failure", $page);
}
break;
case payment_ias:
if( $Success )
{
$email = $_SESSION["pm_email"];
$mobile = $_SESSION["pm_mobile"];
_obfuscated_0D0936150A023C1515052F301C251B022703262D0B2C01_($_SESSION["pm_iasid"], $ias_username, $ias_password, $email, $mobile);
$_SESSION["ias_username"] = $ias_username;
$_SESSION["ias_password"] = $ias_password;
if( !$ias_username )
{
_obfuscated_0D0C160A31081B3B252710111B27030F293B3F2A181222_("err_generating_ias");
print _obfuscated_0D0C160A31081B3B252710111B27030F293B3F2A181222_("err_generating_ias");
exit();
}
$invid = _obfuscated_0D031809085B1B2E2D13120D270E3F0316133B23261001_($_SESSION["pm_iasid"], $DpsTxnRef, $_SESSION["pm_transid"], paymode_dps, $ias_username, $fullname, $address, $city, $zip, $country, $state);
$_SESSION["pm_invid"] = $invid;
$page = str_replace("{URL}", "payias.php?cont=payment_success", $page);
}
else
{
$page = str_replace("{URL}", "payias.php?cont=payment_failure", $page);
}
}
_obfuscated_0D3519373E1B16080A332F24220B0A052F2D110B2B1301_($page);
print _obfuscated_0D3519373E1B16080A332F24220B0A052F2D110B2B1301_($page);
}
else
{
exit( "" . "Can't find " . $filename );
}
?>
|
|