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 :  /home2/cp648411/public_html/homhuan.com/member/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


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

Current File : /home2/cp648411/public_html/homhuan.com/member/regiter.php
<?php require_once("../include/class.php");?>
<?php

/*echo '<pre>';
print_r($_POST);
echo '</pre>';
/*
echo '<pre>';
print_r($_SESSION);
echo '</pre>';*/

//exit();

$date = date("Y-m-d H:i:s");

$captchaResult = $_POST["captchaResult"];
$firstNumber = $_POST["firstNumber"];
$secondNumber = $_POST["secondNumber"];


$_SESSION['er'] = 'true';
$checkTotal = $firstNumber + $secondNumber;
if ($captchaResult == $checkTotal)
{
	if($_POST['pass'] == $_POST['pass_c'])
	{

		$sql = array('table'=>'member','count'=>'MAX(Mid) AS max_id','where'=>"");
		$view_sql = $view_db->view($sql);
		$row = $view_db->q($view_sql);
		$M_id = $row['max_id']+1;

		$list = array
		(
			'table'=>'member',
			'Mid'=>"'".$M_id."'",
			'Mpwd'=>"'".$_POST['pass']."'",
			'Mfname'=>"'".$_POST['name']."'",
			'Mlname'=>"'".$_POST['lastname']."'",
			'Maddr1'=>"'".$_POST['address']."'",
			'Mprovince'=>"'".$_POST['province']."'",
			'Mzip'=>"'".$_POST['zip']."'",
			'Mtel'=>"'".$_POST['phone']."'",
			'Memail'=>"'".$_POST['mail']."'",
			'Mregisdate'=>"'".$date."'"
		);

		$add1 = $actiondata_db->add_db($list);

		if( $add1['suc'] == 1)
		{


					include("../include/mail.php");


					$to = $_POST['mail'];
					$from = '[email protected]';
					$sub = '&#3618;&#3639;&#3609;&#3618;&#3633;&#3609;&#3585;&#3634;&#3619;&#3626;&#3617;&#3633;&#3588;&#3619;&#3626;&#3617;&#3634;&#3594;&#3636;&#3585;';
					$today = date("d/m/Y");
					$alley = '';


					//$msg = '&#3618;&#3636;&#3609;&#3604;&#3637;&#3605;&#3657;&#3629;&#3609;&#3619;&#3633;&#3610; &#3588;&#3640;&#3603;'.$_POST['name'].' '.$_POST['lastname'] . ' &#3648;&#3611;&#3655;&#3609;&#3626;&#3617;&#3634;&#3594;&#3636;&#3585;&#3648;&#3623;&#3655;&#3610; &#3627;&#3629;&#3617;&#3627;&#3623;&#3621; &#3594;&#3640;&#3604;&#3611;&#3599;&#3636;&#3610;&#3633;&#3605;&#3636;&#3608;&#3619;&#3619;&#3617; <br>';
					$msg =
					'
						<img src="'.$upload.'image/thankyouregiter.jpg" width="800" height="600">

					';


					$body = $msg.$contact;

					//exit;
					$mail->SetFrom($from, $from);
					$mail->AddReplyTo($from, $from);



					$mail->MsgHTML($body);
					$mail->Subject = '&#3627;&#3629;&#3617;&#3627;&#3623;&#3621; &#3594;&#3640;&#3604;&#3611;&#3599;&#3636;&#3610;&#3633;&#3605;&#3636;&#3608;&#3619;&#3619;&#3617; :: '.$sub;
					$mail->AddAddress($to); // &#3612;&#3641;&#3657;&#3619;&#3633;&#3610;



					if(!$mail->Send())
					{
						//echo "<meta http-equiv=\"refresh\" content=\"0; url=../main/index.php?menu=7&&msg=2\">";
						echo "<br> Mailer Error: " . $mail->ErrorInfo;
						unset($_SESSION['er']);
						exit();
					}
					else
					{
						?>
                        <meta http-equiv="refresh" content="0;URL=../member/regitertrue.php">
                        <?php
					}

		}



	}
	else
	{
		?><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<script>
            alert("&#3586;&#3657;&#3629;&#3617;&#3621;&#3641;&#3652;&#3617;&#3656;&#3606;&#3641;&#3585;&#3605;&#3657;&#3629;&#3591;&#3585;&#3619;&#3640;&#3603;&#3634;&#3621;&#3629;&#3591;&#3629;&#3637;&#3585;&#3588;&#3619;&#3633;&#3657;&#3591; &#3586;&#3629;&#3610;&#3588;&#3640;&#3603;&#3588;&#3656;&#3632;");
        </script>
        <meta http-equiv="refresh" content="0;URL=../member/login.php?#regiter">
        <?php
        exit;
	}
}
else
{
	?><meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<script>
		alert("&#3586;&#3657;&#3629;&#3617;&#3621;&#3641;&#3652;&#3617;&#3656;&#3606;&#3641;&#3585;&#3605;&#3657;&#3629;&#3591;&#3585;&#3619;&#3640;&#3603;&#3634;&#3621;&#3629;&#3591;&#3629;&#3637;&#3585;&#3588;&#3619;&#3633;&#3657;&#3591; &#3586;&#3629;&#3610;&#3588;&#3640;&#3603;&#3588;&#3656;&#3632;");
	</script>
	<meta http-equiv="refresh" content="0;URL=../member/login.php?#regiter">
	<?php
	exit;
}
exit;






?>

Anon7 - 2022
AnonSec Team