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/newusafunding.com/vx/usa/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/usa_sites/newusafunding.com/vx/usa/functions/send_heinz_email_about_bbb.php
<?php
include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/xinc.php");
include_once($_SERVER['DOCUMENT_ROOT']."/vx/lib/mailgun.php");
$res = $db->get_results("SELECT site_code,client_id,how_can_we_improve FROM lc2admin.usa_testimonials
						WHERE id='".$db->clean($_POST['tid'])."'");
if(!empty($res)) {
	$db->query("INSERT INTO lc2admin.usa_testimonials_5_star_page
				(
					testimonial_id
					,clicked_bbb_link
					,which_site
					,ts
				) VALUES (
					'".$db->clean($_POST['tid'])."'
					,'1'
					,'".$db->clean($_POST['review_site'])."'
					,NOW()
				)");
	/*$res2 = $db->get_results("SELECT id FROM lc2admin.usa_testimonials_5_star_page
							WHERE testimonial_id='".$db->clean($_POST['tid'])."'");
	if(!empty($res2)) {
		$db->query("UPDATE lc2admin.usa_testimonials_5_star_page
					SET clicked_bbb_link=1
					WHERE testimonial_id='".$db->clean($_POST['tid'])."'");
	}*/
	$res2 = $db->get_results("SELECT first,last,email,phone_1
							FROM lc2{$res[0]->site_code}_lc.lc_reseller
							WHERE id='".$db->clean($res[0]->client_id)."'");
	$to = 'heinz57@gmail.com';
	$from = 'NoReply@surfcrm.com';
	$subject = 'BBB button from testimonial';
	$body = '<p>Client Info:<br />Name: '.$res2[0]->first.' '.$res2[0]->last.'<br />Email: '.$res2[0]->email.'<br />Phone: '.$res2[0]->phone_1.'</p>
			<br />
			<p>Testimonial:<br />'.$res[0]->how_can_we_improve.'</p>';
	//mailgun_send_message($to,$from,$subject,$body,1,'BBB button clicked','','','',0,array(),'',0);
}

Youez - 2016 - github.com/yon3zu
LinuXploit