AnonSec Shell
Server IP : 104.21.37.246  /  Your IP : 104.23.243.32   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/cp648411/www/simded.com/simsalmon/control/include/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/cp648411/www/simded.com/simsalmon/control/include/register_member.php
<?php
$partclass = '../../';
include("../../control/classmain.php");
include("../../control/include/mail.php");


if($_POST['password'] == $_POST['password_con'])
{
	$email = addslashes(trim($_POST['email']));
	$pass = addslashes(trim($_POST['password']));
	
	//$ckemail = $User_db->ck_mail('member',$email);
	
	$pass_md5 = $User_db->cus_pass($pass);
	
	$list = array(	
				'table'=>'member',
				'name'=>"'".@$_POST["name"]."'",
				'lastname'=>"'".@$_POST["lastname"]."'",
				'phone'=>"'".@$_POST["phone"]."'",
				'lineid'=>"'".@$_POST["lineid"]."'",
				'email'=>"'".@$email."'",
				'password'=>"'".@$pass_md5."'",
				'status'=>'1',
				'type'=>"'email'",
				'createdate'=>"'".$date."'",
				'up_date'=>"'".$date."'"
			);
				  
	$add = $actiondata_db->add_db($list);
	
	if($add['suc'] == 1)
	{
		$body = 
		'<table width="100%" border="0">
			<tr>
				<td><img src="'.$domain.'images/Logo.jpg" width="220" ></td>
				<td>'.$util_class->day_m_th(date("Y-m-d H:i:s")).'</td>
			</tr>
			<tr>
				<td colspan="2">เรียนผู้ใช้บริการ</td>
			</tr>
			<tr>
				<td  colspan="2">คุณ : '.$_POST['name'].' '.$_POST['lastname'] . '</td>
			</tr>
			<tr>
				<td colspan="2">ชื่อผู้ใช้งาน : '.$_POST['email'].'</td>
			</tr>
			<tr>
				<td colspan="2">เป็นสมาชิกเว็บไซต์ '."<a href='http://www.simded.com'>http://www.simded.com</a>".' ขอบคุณที่ใช้บริการ</td>
			</tr>
		</table>
		<br><br>'
		.$contact;
		
		$body = $body;
		
		//exit;
		$mail->SetFrom($from, $from);
		$mail->AddReplyTo($from, $from);
		
		
		$mail->MsgHTML($body);
		$txt = $txtname. ' :: สมัครสมาชิก';
		$mail->Subject = $txt;
		$mail->AddAddress($_POST['email']); // ผู้รับ
		
		
		if(!$mail->Send()) 
		{
			echo "<br> Mailer Error: " . $mail->ErrorInfo;
			unset($_SESSION['er']);
			exit();
		}
	}
}

?>
<meta http-equiv="refresh" content="0;URL=<?php echo $domain; ?>member/register_true.php?s=<?php echo $add['suc']?>" />
<?php
exit;
?>

Anon7 - 2022
AnonSec Team