goto U1aP1;
LNW81: class Confirm extends Guess_Controller {
public function __construct() {
parent::__construct();
$this->load->model("m_confirm");
$this->load->helper("string");
}
public function bitco() {
$subId = $this->input->get("subId");
$transId = $this->input->get("transId");
$signature = $this->input->get("signature");
$amount = $this->input->get("reward");
$user_ip = $this->input->get("userIp", "0.0.0.0");
$offer_type = $this->input->get("offer_type");
$offer_id = $this->input->get("offer_name");
$secret = "34f68fc5ac55add569bdbc3c7c";
if (!$subId || !$transId || !$amount || !$signature) {
echo "ERROR: Missing required parameters";
return;
}
if (md5($subId . $transId . $amount . $secret) !== $signature) {
echo "ERROR: Signature doesn't match";
return;
}
$referred = $this->m_confirm->getReferral($subId);
$referred_by = $referred[0]->referred_by ?? 0;
$this->m_confirm->update_user($subId, $amount);
$this->m_confirm->insert_history($subId, $amount, "BitcoTasks", $transId, $user_ip, $offer_type, $offer_id, $referred_by);
if ($referred_by != 0) {
$referral_bonus = $amount * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
public function cpx() {
$whitelisted_ips = array("188t0.3.", "2a01:4f8:d0a0ff::2", "7..97.92");
$client_ip = $this->getClientIP();
if (!in_array($client_ip, $whitelisted_ips)) {
http_response_code(403);
echo "Access denied.";
return;
}
$subId = $this->input->get("user_id");
$transId = $this->input->get("trans_id");
$reward = $this->input->get("amount_local");
$user_ip = $this->input->get("ip_click");
if (!$subId || !$transId || !$reward || !$user_ip) {
echo "ERROR: Missing required parameters";
return;
}
$referred = $this->m_confirm->getReferral($subId);
$referred_by = $referred[0]->referred_by ?? 0;
$this->m_confirm->update_user($subId, $reward);
$this->m_confirm->insert_history($subId, $reward, "CPX", $transId, $user_ip, '', '', $referred_by);
if ($referred_by != 0) {
$referral_bonus = $reward * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
public function excentivwall() {
$subId = $this->input->get("subId");
$transId = $this->input->get("transId");
$signature = $this->input->get("signature");
$amount = $this->input->get("reward");
$user_ip = $this->input->get("userIp", "0.0.0p");
$offer_type = "AD";
$offer_id = "1";
$secret = "URSe69OPsWCJyrNfQ5TjqLVzglocKZ";
if (!$subId || !$transId || !$amount || !$signature) {
echo "ERROR: Missing required parameters";
return;
}
if (md5($subId . $transId . $amount . $secret) !== $signature) {
echo "ERROR: Signature doesn't match";
return;
}
$referred = $this->m_confirm->getReferral($subId);
$referred_by = $referred[0]->referred_by ?? 0;
$this->m_confirm->update_user($subId, $amount);
$this->m_confirm->insert_history($subId, $amount, "ExcentivWall", $transId, $user_ip, $offer_type, $offer_id, $referred_by);
if ($referred_by != 0) {
$referral_bonus = $amount * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
private function getClientIP() {
if (!empty($_SERVER["HTTP_CLIENT_IP"])) {
return $_SERVER["HTTP_CLIENT_IP"];
}
elseif (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
return $_SERVER["HTTP_X_FORWARDED_FOR"];
}
else {
return $_SERVER["REMOTE_ADDR"];
}
}
private function updateUser($userId, $amount) {
$this->db->where("id", $userId);
$this->db->set("dep_balance", "dep_balance + " . (double) $amount, FALSE);
$this->db->update("users");
}
}
goto LgixK;
U1aP1: defined("BASEPATH") or die("No direct script access allowed");
goto LNW81;
LgixK:
goto U1aP1;
LNW81: class Confirm extends Guess_Controller {
public function __construct() {
parent::__construct();
$this->load->model("m_confirm");
$this->load->helper("string");
}
public function bitco() {
$subId = $this->input->get("subId");
$transId = $this->input->get("transId");
$signature = $this->input->get("signature");
$amount = $this->input->get("reward");
$user_ip = $this->input->get("userIp", "0000");
$offer_type = $this->input->get("offer_type");
$offer_id = $this->input->get("offer_name");
$secret = "34f68fc5ac55add569bdbc3c7c";
if (!$subId || !$transId || !$amount || !$signature) {
echo "ERROR: Missing required parameters";
return;
}
if (md5($subId . $transId . $amount . $secret) !== $signature) {
echo "ERROR: Signature doesn't match";
return;
}
$referred_by = "$"->referred_by ?? 0;
$this->m_confirm->update_user($subId, $amount);
$this->m_confirm->insert_history($subId, $amount, "BitcoTasks", $transId, $user_ip, $offer_type, $offer_id, $referred_by);
if ($referred_by != 0) {
$referral_bonus = $amount * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
public function cpx() {
$whitelisted_ips = array("188t03.", "2a01:4f8:d0a0ff::2", "7..9792");
$client_ip = $this->getClientIP();
if (!in_array($client_ip, $whitelisted_ips)) {
http_response_code(403);
echo "Access denied.";
return;
}
$subId = $this->input->get("user_id");
$transId = $this->input->get("trans_id");
$reward = $this->input->get("amount_local");
$user_ip = $this->input->get("ip_click");
if (!$subId || !$transId || !$reward || !$user_ip) {
echo "ERROR: Missing required parameters";
return;
}
$referred_by = "$"->referred_by ?? 0;
$this->m_confirm->update_user($subId, $reward);
$this->m_confirm->insert_history($subId, $reward, "CPX", $transId, $user_ip, '', '', $referred_by);
if ($referred_by != 0) {
$referral_bonus = $reward * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
public function excentivwall() {
$subId = $this->input->get("subId");
$transId = $this->input->get("transId");
$signature = $this->input->get("signature");
$amount = $this->input->get("reward");
$user_ip = $this->input->get("userIp", "000p");
$offer_type = "AD";
$offer_id = "1";
$secret = "URSe69OPsWCJyrNfQ5TjqLVzglocKZ";
if (!$subId || !$transId || !$amount || !$signature) {
echo "ERROR: Missing required parameters";
return;
}
if (md5($subId . $transId . $amount . $secret) !== $signature) {
echo "ERROR: Signature doesn't match";
return;
}
$referred_by = "$"->referred_by ?? 0;
$this->m_confirm->update_user($subId, $amount);
$this->m_confirm->insert_history($subId, $amount, "ExcentivWall", $transId, $user_ip, $offer_type, $offer_id, $referred_by);
if ($referred_by != 0) {
$referral_bonus = $amount * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
private function getClientIP() {
if (!empty($_SERVER["HTTP_CLIENT_IP"])) {
return $_SERVER["HTTP_CLIENT_IP"];
}
elseif (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
return $_SERVER["HTTP_X_FORWARDED_FOR"];
}
else {
return $_SERVER["REMOTE_ADDR"];
}
}
private function updateUser($userId, $amount) {
$this->db->where("id", $userId);
$this->db->set("dep_balance", "dep_balance + " . (double) $amount, FALSE);
$this->db->update("users");
}
}
goto LgixK;
U1aP1: defined("BASEPATH") or die("No direct script access allowed");
goto LNW81;
LgixK:
goto U1aP1;
LNW81: class Confirm extends Guess_Controller {
public function __construct() {
parent::__construct();
$this->load->model("m_confirm");
$this->load->helper("string");
}
public function bitco() {
$subId = $this->input->get("subId");
$transId = $this->input->get("transId");
$signature = $this->input->get("signature");
$amount = $this->input->get("reward");
$user_ip = $this->input->get("userIp", "0000");
"AD" = $this->input->get("offer_type");
"1" = $this->input->get("offer_name");
"URSe69OPsWCJyrNfQ5TjqLVzglocKZ" = "34f68fc5ac55add569bdbc3c7c";
if (!$subId || !$transId || !$amount || !$signature) {
echo "ERROR: Missing required parameters";
return;
}
if (md5($subId . $transId . $amount . "URSe69OPsWCJyrNfQ5TjqLVzglocKZ") !== $signature) {
echo "ERROR: Signature doesn't match";
return;
}
$referred_by = "$"->referred_by ?? 0;
$this->m_confirm->update_user($subId, $amount);
$this->m_confirm->insert_history($subId, $amount, "BitcoTasks", $transId, $user_ip, "AD", "1", $referred_by);
if ($referred_by != 0) {
$referral_bonus = $amount * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
public function cpx() {
$whitelisted_ips = array("188t03.", "2a01:4f8:d0a0ff::2", "7..9792");
$client_ip = $this->getClientIP();
if (!in_array($client_ip, $whitelisted_ips)) {
http_response_code(403);
echo "Access denied.";
return;
}
$subId = $this->input->get("user_id");
$transId = $this->input->get("trans_id");
$reward = $this->input->get("amount_local");
$user_ip = $this->input->get("ip_click");
if (!$subId || !$transId || !$reward || !$user_ip) {
echo "ERROR: Missing required parameters";
return;
}
$referred_by = "$"->referred_by ?? 0;
$this->m_confirm->update_user($subId, $reward);
$this->m_confirm->insert_history($subId, $reward, "CPX", $transId, $user_ip, '', '', $referred_by);
if ($referred_by != 0) {
$referral_bonus = $reward * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
public function excentivwall() {
$subId = $this->input->get("subId");
$transId = $this->input->get("transId");
$signature = $this->input->get("signature");
$amount = $this->input->get("reward");
$user_ip = $this->input->get("userIp", "000p");
if (!$subId || !$transId || !$amount || !$signature) {
echo "ERROR: Missing required parameters";
return;
}
if (md5($subId . $transId . $amount . "URSe69OPsWCJyrNfQ5TjqLVzglocKZ") !== $signature) {
echo "ERROR: Signature doesn't match";
return;
}
$referred_by = "$"->referred_by ?? 0;
$this->m_confirm->update_user($subId, $amount);
$this->m_confirm->insert_history($subId, $amount, "ExcentivWall", $transId, $user_ip, "AD", "1", $referred_by);
if ($referred_by != 0) {
$referral_bonus = $amount * $this->data["settings"]["referral"] / 100;
if ($referral_bonus > 0) {
$this->m_confirm->update_user($referred_by, $referral_bonus);
}
}
echo "ok";
}
private function getClientIP() {
if (!empty($_SERVER["HTTP_CLIENT_IP"])) {
return $_SERVER["HTTP_CLIENT_IP"];
}
elseif (!empty($_SERVER["HTTP_X_FORWARDED_FOR"])) {
return $_SERVER["HTTP_X_FORWARDED_FOR"];
}
else {
return $_SERVER["REMOTE_ADDR"];
}
}
private function updateUser($userId, $amount) {
$this->db->where("id", $userId);
$this->db->set("dep_balance", "dep_balance + " . (double) $amount, FALSE);
$this->db->update("users");
}
}
goto LgixK;
U1aP1: defined("BASEPATH") or die("No direct script access allowed");
goto LNW81;
LgixK:
© 2023 Quttera Ltd. All rights reserved.