403Webshell
Server IP : 10.200.247.200  /  Your IP : 216.73.217.19
Web Server : Apache
System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64
User : jeremy ( 1001)
PHP Version : 8.4.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/usa_sites/pcisecureform.com/lcapi/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/pcisecureform.com/lcapi/reactivate_user_status_reduced_text.php
<?php
	require_once($_SERVER['DOCUMENT_ROOT'].'/php/db_config_lc_user.php');
	$db = connect_lc2user_new('lc2admin');
	
	if(!empty($_REQUEST['rid'])) {
		switch($_REQUEST['field']) {
			case 'opened_email':
				$db->query("UPDATE lc2admin.cancel_reactivations_fee_reduced_texts
						SET
							opened_email=NOW()
						WHERE id='".$db->clean($_REQUEST['rid'])."'");
				break;
			case 'clicked_link':
				$db->query("UPDATE lc2admin.cancel_reactivations_fee_reduced_texts
						SET
							clicked_link=NOW()
						WHERE id='".$db->clean($_REQUEST['rid'])."'");
				break;
			case 'updated_card_info':
				$db->query("UPDATE lc2admin.cancel_reactivations_fee_reduced_texts
						SET
							reactivated_account=NOW()
						WHERE id='".$db->clean($_REQUEST['rid'])."'");
				break;
			break;
		}
	}
	if(!empty($_POST['action'])) {
		if($_POST['action'] == 'really_reactivate') {
			$site = $_POST['site_code'];
			$db->query("UPDATE lc2{$site}_lc.lc_clients_subscriptions
						SET cancel_date='0000-00-00'
						,cancel_datetime='0000-00-00 00:00:00'
						,declines=0
						,active=1
						,next_bill_date=CURDATE()
						,amount='9.97'
						WHERE reseller_id='".$db->clean($_POST['client_id'])."'");
			$db->query("UPDATE lc2{$site}_lc.lc_reseller
						SET monthly_fee='9.97'
						,active=1
						,next_bill_date=CURDATE()
						WHERE id='".$db->clean($_POST['client_id'])."'");
			$is_there = $db->get_results("SELECT id FROM allocator.pending_sales
										WHERE site_code='".$db->clean($_POST['site_code'])."'
										AND client_id='".$db->clean($_POST['client_id'])."'
										charged=0");
			if(!empty($is_there)) {
				$db->query("UPDATE allocator.pending_sales
							SET date_to_bill=CURDATE()
							,initial_fee=9.97
							,monthly_fee=9.97
							WHERE id='".$db->clean($is_there[0]->id)."'");
			}
			$res = $db->get_results("SELECT user,`password`
									FROM lc2{$site}_lc.lc_reseller
									WHERE id='".$db->clean($_POST['client_id'])."'");
			$arr = array();
			$arr['username'] = $res[0]->user;
			$arr['password'] = $res[0]->password;
			echo json_encode($arr);
		}
	} else {
		if(!empty($_REQUEST['info'])) {
			$res = $db->get_results("SELECT id as rid,client_id,site_code FROM lc2admin.cancel_reactivations_fee_reduced_texts WHERE id='".$db->clean($_REQUEST['rid'])."'");
			$return = $res[0];
			$res = $db->get_results("SELECT first,last,email,phone_1 as phone FROM lc2{$return->site_code}_lc.lc_reseller WHERE id='".$db->clean($return->client_id)."'");
			$return->first = $res[0]->first;
			$return->last = $res[0]->last;
			$return->email = $res[0]->email;
			$return->phone = $res[0]->phone;
			$json = json_encode($return);
			die($json);
		} else {
			header('Content-Type: image/gif');
			echo base64_decode('R0lGODlhAQABAJAAAP8AAAAAACH5BAUQAAAALAAAAAABAAEAAAICBAEAOw==');		
		}
	}

Youez - 2016 - github.com/yon3zu
LinuXploit