403Webshell
Server IP : 192.169.170.185  /  Your IP : 216.73.216.97
Web Server : Apache
System : Linux p3plmcpnl495852.prod.phx3.secureserver.net 4.18.0-553.52.1.lve.el8.x86_64 #1 SMP Wed May 21 15:31:29 UTC 2025 x86_64
User : akhilnew ( 1712764)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/akhilnew/www/marketingjournal.net/inc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/akhilnew/www/marketingjournal.net/inc/contact.php
<?php
if($decryptedfocus === '[PLACE_ENQUIRY]'):
	if(! isset($_POST['zipcode']) OR $_POST['zipcode'] !== '' OR strlen($_POST['zipcode']) > 0):
		die(output(false, 'You are not authorized user.'));
	endif;

	if (preg_match( '/[\p{Cyrillic}]/u', $_POST['message'])) {
		die(output(false, 'You are not authorized user.'));
	}

	$name = filter_input(INPUT_POST, 'name', FILTER_SANITIZE_STRING);
	$name = strip_tags($fn->remespace($fn->escape($name)));
	$name = stripslashes(stripcslashes(htmlentities($name, ENT_QUOTES)));

	$email = filter_input(INPUT_POST, 'email', FILTER_SANITIZE_EMAIL);
	$email = strip_tags($fn->remaspace($fn->escape($email)));

	$phone = filter_input(INPUT_POST, 'phone', FILTER_SANITIZE_STRING);
	$phone = strip_tags($fn->remaspace($fn->escape($phone)));

	$message = filter_input(INPUT_POST, 'message', FILTER_SANITIZE_STRING);
	$message = strip_tags($fn->remespace($fn->escape($message)));
	$message = stripslashes(stripcslashes(htmlentities(str_replace('\r\n', PHP_EOL, $message), ENT_QUOTES)));

	$skycolor = filter_input(INPUT_POST, 'skycolor', FILTER_SANITIZE_STRING);

	$reCAPTCHA = filter_input(INPUT_POST, 'g-recaptcha-response', FILTER_SANITIZE_STRING);
	$responseData = gCAPTCHA($reCAPTCHA);
	$creation= date('Y-m-d H:i:s');
	$baseurl = parse_url($baseurl, PHP_URL_HOST);

	if(empty($name)):
		die(output(false, 'Please enter your full name.'));
	elseif(empty($email)):
		die(output(false, 'Please enter your email ID.'));
	elseif($fn->validateemail($email) === false):
		die(output(false, 'Please enter a valid email ID.'));
	elseif((empty($phone) && strlen($phone) == 0)):
		die(output(false, 'Please enter your phone number.'));
	elseif(empty($message)):
		die(output(false, 'Please enter your message.'));
	elseif(empty($skycolor)):
		die(output(false, 'Please select anti spam question.'));
	elseif($skycolor !== 'blue'):
		die(output(false, 'You are not authorized user.'));
	elseif(!$reCAPTCHA):
		die(output(false, 'Please click on the reCAPTCHA box.'));
	elseif(!$responseData->success):
		die(output(false, 'Robot verification failed, Please try again.'));
	else:
		if (file_exists('../../temp/BlockedWords.php')) :
			require_once('../../temp/BlockedWords.php');
			if ($blocked = BlockedWords::check($email, $message)) :
				die(output(false, $blocked));
			endif;
		else :
			die(output(false, 'Something went worng.'));
		endif;

		$stmt = $mysqli->prepare("INSERT INTO enquiry(name, email, phone, message, creation) VALUES(?, ?, ?, ?, ?)") or die(output(false, 'An error occurred. Please try after some time.'));
		$stmt->bind_param('sssss', $name, $email, $phone, $message, $creation);
		$e = $stmt->execute();
		$insertid = $stmt->insert_id;
		$stmt->close();
		if($e):
			if(method_exists('functions', 'insertemail')):
				$fn->insertemail($email);
			endif;

			$wsubject  = 'Enquiry from contact us page. #'.$insertid;
			$wmessage  = '<table border="0" cellpadding="5" cellspacing="0" width="700" style="text-align:left;vertical-align:top">';
			$wmessage .= '<tr bgcolor="#ccc"><td width="150">Full Name</td><td width="10">:</td><td>'.$name.'</td></tr>';
			$wmessage .= '<tr bgcolor="#fff"><td width="150">Email</td><td width="10">:</td><td>'.$email.'</td></tr>';
			$wmessage .= '<tr bgcolor="#ccc"><td width="150">Telephone</td><td width="10">:</td><td>'.$phone.'</td></tr>';
			$wmessage .= '<tr bgcolor="#fff"><td width="150">Message</td><td width="10">:</td><td>'.nl2br($message).'</td></tr>';
			$wmessage .= '</table>';

			$csubject  = 'We received your enquiry. #'.$insertid;
			$cmessage  = 'Dear '.$name.',<br><br>Thank you for contacting the <i>'.$websitename.'</i>.<br><br>';
			$cmessage .= '<b>Important Links:</b><br>';
			$cmessage .= 'For Author Instructions: '.$baseurl.'/instructions<br>';
			$cmessage .= 'For Past Issues: '.$baseurl.'/archives<br><br>';
			$cmessage .= '<br><br><br>Regrads<br>'.nl2br($signature).'<br><br><br>';
			$cmessage .= '<b style="color:#009933"><img src="'.$imageurl.'tree.png" alt="Tree" /> Please consider the environment before you print this email.</b>';

			$sm->SendMail($websiteemail, '', '', $wsubject, $wmessage, '', $fromname, $fromemail, $name, $email);
			$sm->SendMail($email, '', '', $csubject, $cmessage, array('https://www.akinik.com/ListOfJournals.pdf'), $fromname, $fromemail, $replyname, $replyemail);
			$sm->SendMail($email, '', '', 'Our Other Management Journals', file_get_contents('inc/managementmail.php'), '', $fromname, $fromemail, $replyname, $replyemail);
			$sm->SendMail($email, '', '', 'Publish Books and Book Chapters', file_get_contents('https://www.akinik.com/BSPublicationBookMail.html'), '', $fromname, $fromemail, $replyname, $replyemail);

			die(output(true, 'Thank you, Your enquiry has been submitted.'));
		else:
			die(output(false, 'An error occurred. Please try after some time.'));
		endif;
	endif;
else:
	die(output(false, 'Access Denied!'));
endif;
?>

Youez - 2016 - github.com/yon3zu
LinuXploit