Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Apache
: 172.26.7.228 | : 3.145.61.142
Cant Read [ /etc/named.conf ]
5.6.40-24+ubuntu18.04.1+deb.sury.org+1
www-data
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
college /
aws /
JmesPath /
[ HOME SHELL ]
Name
Size
Permission
Action
AstRuntime.php
1.43
KB
-rwxr-xr-x
CompilerRuntime.php
2.55
KB
-rwxr-xr-x
DebugRuntime.php
3.11
KB
-rwxr-xr-x
Env.php
2.43
KB
-rwxr-xr-x
FnDispatcher.php
12.16
KB
-rwxr-xr-x
JmesPath.php
378
B
-rwxr-xr-x
Lexer.php
14.9
KB
-rwxr-xr-x
Parser.php
13.89
KB
-rwxr-xr-x
SyntaxErrorException.php
1.1
KB
-rwxr-xr-x
TreeCompiler.php
12.78
KB
-rwxr-xr-x
TreeInterpreter.php
7.64
KB
-rwxr-xr-x
Utils.php
6.74
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : Env.php
<?php namespace JmesPath; /** * Provides a simple environment based search. * * The runtime utilized by the Env class can be customized via environment * variables. If the JP_PHP_COMPILE environment variable is specified, then the * CompilerRuntime will be utilized. If set to "on", JMESPath expressions will * be cached to the system's temp directory. Set the environment variable to * a string to cache expressions to a specific directory. */ final class Env { const COMPILE_DIR = 'JP_PHP_COMPILE'; /** * Returns data from the input array that matches a JMESPath expression. * * @param string $expression JMESPath expression to evaluate * @param mixed $data JSON-like data to search * * @return mixed|null Returns the matching data or null */ public static function search($expression, $data) { static $runtime; if (!$runtime) { $runtime = Env::createRuntime(); } return $runtime($expression, $data); } /** * Creates a JMESPath runtime based on environment variables and extensions * available on a system. * * @return callable */ public static function createRuntime() { switch ($compileDir = self::getEnvVariable(self::COMPILE_DIR)) { case false: return new AstRuntime(); case 'on': return new CompilerRuntime(); default: return new CompilerRuntime($compileDir); } } /** * Delete all previously compiled JMESPath files from the JP_COMPILE_DIR * directory or sys_get_temp_dir(). * * @return int Returns the number of deleted files. */ public static function cleanCompileDir() { $total = 0; $compileDir = self::getEnvVariable(self::COMPILE_DIR) ?: sys_get_temp_dir(); foreach (glob("{$compileDir}/jmespath_*.php") as $file) { $total++; unlink($file); } return $total; } /** * Reads an environment variable from $_SERVER, $_ENV or via getenv(). * * @param string $name * * @return string|null */ private static function getEnvVariable($name) { if (array_key_exists($name, $_SERVER)) { return $_SERVER[$name]; } if (array_key_exists($name, $_ENV)) { return $_ENV[$name]; } $value = getenv($name); return $value === false ? null : $value; } }
Close