Linux vmi284606.contaboserver.net 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.57 (Ubuntu)
: 167.86.127.34 | : 216.73.217.51
Cant Read [ /etc/named.conf ]
7.2.24-0ubuntu0.18.04.17
root
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
var /
www /
html /
insepet /
tienda /
vendor /
twig /
twig /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Cache
[ DIR ]
drwxrwxrwx
Error
[ DIR ]
drwxrwxrwx
Extension
[ DIR ]
drwxrwxrwx
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
Loader
[ DIR ]
drwxrwxrwx
Node
[ DIR ]
drwxrwxrwx
NodeVisitor
[ DIR ]
drwxrwxrwx
Profiler
[ DIR ]
drwxrwxrwx
RuntimeLoader
[ DIR ]
drwxrwxrwx
Sandbox
[ DIR ]
drwxrwxrwx
Test
[ DIR ]
drwxrwxrwx
TokenParser
[ DIR ]
drwxrwxrwx
Util
[ DIR ]
drwxrwxrwx
.mad-root
0
B
-rw-r--r--
Compiler.php
7.12
KB
-rwxrwxrwx
Environment.php
51.92
KB
-rwxrwxrwx
ExpressionParser.php
29.56
KB
-rwxrwxrwx
FileExtensionEscapingStrategy....
1.49
KB
-rwxrwxrwx
Lexer.php
16.58
KB
-rwxrwxrwx
Markup.php
818
B
-rwxrwxrwx
NodeTraverser.php
1.94
KB
-rwxrwxrwx
Parser.php
12.91
KB
-rwxrwxrwx
Source.php
1
KB
-rwxrwxrwx
Template.php
24.31
KB
-rwxrwxrwx
TemplateWrapper.php
3.65
KB
-rwxrwxrwx
Token.php
5.66
KB
-rwxrwxrwx
TokenStream.php
5.31
KB
-rwxrwxrwx
TwigFilter.php
2.75
KB
-rwxrwxrwx
TwigFunction.php
2.51
KB
-rwxrwxrwx
TwigTest.php
1.65
KB
-rwxrwxrwx
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TemplateWrapper.php
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Twig; /** * Exposes a template to userland. * * @author Fabien Potencier <fabien@symfony.com> */ final class TemplateWrapper { private $env; private $template; /** * This method is for internal use only and should never be called * directly (use Twig\Environment::load() instead). * * @internal */ public function __construct(Environment $env, Template $template) { $this->env = $env; $this->template = $template; } /** * Renders the template. * * @param array $context An array of parameters to pass to the template * * @return string The rendered template */ public function render($context = []) { // using func_get_args() allows to not expose the blocks argument // as it should only be used by internal code return $this->template->render($context, \func_num_args() > 1 ? func_get_arg(1) : []); } /** * Displays the template. * * @param array $context An array of parameters to pass to the template */ public function display($context = []) { // using func_get_args() allows to not expose the blocks argument // as it should only be used by internal code $this->template->display($context, \func_num_args() > 1 ? func_get_arg(1) : []); } /** * Checks if a block is defined. * * @param string $name The block name * @param array $context An array of parameters to pass to the template * * @return bool */ public function hasBlock($name, $context = []) { return $this->template->hasBlock($name, $context); } /** * Returns defined block names in the template. * * @param array $context An array of parameters to pass to the template * * @return string[] An array of defined template block names */ public function getBlockNames($context = []) { return $this->template->getBlockNames($context); } /** * Renders a template block. * * @param string $name The block name to render * @param array $context An array of parameters to pass to the template * * @return string The rendered block */ public function renderBlock($name, $context = []) { $context = $this->env->mergeGlobals($context); $level = ob_get_level(); ob_start(); try { $this->template->displayBlock($name, $context); } catch (\Exception $e) { while (ob_get_level() > $level) { ob_end_clean(); } throw $e; } catch (\Throwable $e) { while (ob_get_level() > $level) { ob_end_clean(); } throw $e; } return ob_get_clean(); } /** * Displays a template block. * * @param string $name The block name to render * @param array $context An array of parameters to pass to the template */ public function displayBlock($name, $context = []) { $this->template->displayBlock($name, $this->env->mergeGlobals($context)); } /** * @return Source */ public function getSourceContext() { return $this->template->getSourceContext(); } /** * @return string */ public function getTemplatename() { return $this->template->getTemplateName(); } } class_alias('Twig\TemplateWrapper', 'Twig_TemplateWrapper');
Close