shell bypass 403

GrazzMean Shell

: /home/homesquasz/rh/application/models/ [ drwx---r-x ]
Uname: Linux webm016.cluster127.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 7.4.33 [ PHP INFO ] PHP os: Linux
Server Ip: 54.36.31.145
Your Ip: 216.73.216.182
User: homesquasz (91404) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : Planning_model.php
<?php
/* 
 * Generated by CRUDigniter v3.2 
 * www.crudigniter.com
 */
 
class Planning_model extends CI_Model
{
    function __construct()
    {
        parent::__construct();
    }
    
    /*
     * Get jourrepos by id
     */
    function get_planning($id)
    {
        return $this->db->get_where('planning',array('id'=>$id))->row_array();
    }
    function get_all_planning_by_date($datedebut, $datefin)
    {
       
        $this->db->where(date("Y-m-d",strtotime($datedebut)));
        $this->db->where(date("Y-m-d",strtotime($datefin)));
        $this->db->order_by("planning.id", "desc");
        $this->db->select("*, planning.id as idplanning ");
        $this->db->from('planning');
   
        $query = $this->db->get()->result_array();
        return $query;
    } 
    /*
     * Get all jourrepos count
     */
    function get_all_planning_count()
    {
        $this->db->from('planning');
        return $this->db->count_all_results();
    }
      function get_all_ecriture_count()
    {
        $this->db->from('ecritureplanning');
        return $this->db->count_all_results();
    }
    function isferie($date){
        $this->db->where("date",$date);
        return $this->db->get("jourferie")->num_rows()>0;
    }    
    /*
     * Get all jourrepos
     */
    function get_all_planning($params = array())
    {
        $this->db->order_by('id', 'desc');
        if(isset($params) && !empty($params))
        {
            $this->db->limit($params['limit'], $params['offset']);
        }
         $this->db->select("*, planning.id as idplanning");
        $this->db->from('planning');
        return $this->db->get()->result_array();
    }
     function get_all_ecriture($params = array())
    {
        $this->db->order_by('planning.id', 'desc');
        if(isset($params) && !empty($params))
        {
            $this->db->limit($params['limit'], $params['offset']);
        }
         $this->db->select("*, planning.id as idplanning");
        $this->db->from('ecritureplanning');
        $this->db->join('planning', 'planning.id = ecritureplanning.planning_id');
        $this->db->group_by("planning_id");
        return $this->db->get()->result_array();
    }    
    /*
     * function to add new jourrepos
     */
    function add_planning($params)
    {
        $this->db->insert('planning',$params);
        return $this->db->insert_id();
    }
    function add_ecriture($params)
    {
        $this->db->insert('ecritureplanning',$params);
        return $this->db->insert_id();
    }
    function update_ecriture($id,$params)
    {
        
        $this->db->where('id',$id);
        return $this->db->update('planning',$params);
    }
    /*
     * function to update jourrepos
     */
    function update_planning($id,$params)
    {
        $this->db->where('id',$id);
        return $this->db->update('planning',$params);
    }
    
    /*
     * function to delete jourrepos
     */
    function delete_planning($id)
    {
        return $this->db->delete('planning',array('id'=>$id));
    }
    function delete_by_periode($datedebut,$datefin)
    {
        return $this->db->delete('ecritureplanning',array('jour>='=>$datedebut,'jour<='=>$datefin));
    }
    function delete_by_planning($id)
    {
        return $this->db->delete('ecritureplanning',array('planning_id'=>$id));
    }
}
© 2026 GrazzMean