!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/nginx/html/automatas/   drwxrwxrwx
Free 83.34 GB of 96.73 GB (86.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     comprimir_directorio.php (1.06 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
    <?php

  
  
 $ruta
="../phpbb3/";
 
$fichero_comprimido='test.zip';
 
if(
comprimir($ruta$fichero_comprimido))
 echo 
'Ok';
else
 echo 
'Error';

function 
comprimir($ruta$zip_salida$handle false$recursivo false){
 
 
/* Declara el handle del objeto */
 
if(!$handle){
  
$handle = new ZipArchive;
  if (
$handle->open($zip_salidaZipArchive::CREATE) === false){
   return 
false/* Imposible crear el archivo ZIP */
  
}
 }
 
 
/* Procesa directorio */
 
if(is_dir($ruta)){
  
/* Aseguramos que sea un directorio sin car�cteres corruptos */
  
$ruta dirname($ruta.'/arch.ext'); 
  
$handle->addEmptyDir($ruta); /* Agrega el directorio comprimido */
  
foreach(glob($ruta.'/*') as $url){ /* Procesa cada directorio o archivo dentro de el */
   
comprimir($url$zip_salida$handletrue); /* Comprime el subdirectorio o archivo */
  
}
 
 
/* Procesa archivo */
 
}else{
  
$handle->addFile($ruta);
 }
 
 
/* Finaliza el ZIP si no se est� ejecutando una acci�n recursiva en progreso */
 
if(!$recursivo){
  
$handle->close();
 }
 
 return 
true/* Retorno satisfactorio */
}





  
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0036 ]--