Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.140.254.100
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
3 /
monolog /
monolog /
src /
Monolog /
Handler /
Delete
Unzip
Name
Size
Permission
Date
Action
Curl
[ DIR ]
drwxr-xr-x
2018-11-05 09:00
FingersCrossed
[ DIR ]
drwxr-xr-x
2018-11-05 09:00
Slack
[ DIR ]
drwxr-xr-x
2018-11-05 09:00
SyslogUdp
[ DIR ]
drwxr-xr-x
2018-11-05 09:00
AbstractHandler.php
4.28
KB
-rw-r--r--
2018-11-05 09:00
AbstractProcessingHandler.php
1.5
KB
-rw-r--r--
2018-11-05 09:00
AbstractSyslogHandler.php
3.29
KB
-rw-r--r--
2018-11-05 09:00
AmqpHandler.php
3.78
KB
-rw-r--r--
2018-11-05 09:00
BrowserConsoleHandler.php
7.21
KB
-rw-r--r--
2018-11-05 09:00
BufferHandler.php
3.58
KB
-rw-r--r--
2018-11-05 09:00
ChromePHPHandler.php
5.48
KB
-rw-r--r--
2018-11-05 09:00
CouchDBHandler.php
1.91
KB
-rw-r--r--
2018-11-05 09:00
CubeHandler.php
4.52
KB
-rw-r--r--
2018-11-05 09:00
DeduplicationHandler.php
5.35
KB
-rw-r--r--
2018-11-05 09:00
DoctrineCouchDBHandler.php
1000
B
-rw-r--r--
2018-11-05 09:00
DynamoDbHandler.php
2.38
KB
-rw-r--r--
2018-11-05 09:00
ElasticSearchHandler.php
3.33
KB
-rw-r--r--
2018-11-05 09:00
ErrorLogHandler.php
2.31
KB
-rw-r--r--
2018-11-05 09:00
FilterHandler.php
4.32
KB
-rw-r--r--
2018-11-05 09:00
FingersCrossedHandler.php
5.77
KB
-rw-r--r--
2018-11-05 09:00
FirePHPHandler.php
5.33
KB
-rw-r--r--
2018-11-05 09:00
FleepHookHandler.php
3.28
KB
-rw-r--r--
2018-11-05 09:00
FlowdockHandler.php
3.28
KB
-rw-r--r--
2018-11-05 09:00
GelfHandler.php
1.91
KB
-rw-r--r--
2018-11-05 09:00
GroupHandler.php
2.69
KB
-rw-r--r--
2018-11-05 09:00
HandlerInterface.php
2.53
KB
-rw-r--r--
2018-11-05 09:00
HandlerWrapper.php
2.31
KB
-rw-r--r--
2018-11-05 09:00
HipChatHandler.php
10.51
KB
-rw-r--r--
2018-11-05 09:00
IFTTTHandler.php
2.06
KB
-rw-r--r--
2018-11-05 09:00
InsightOpsHandler.php
1.83
KB
-rw-r--r--
2018-11-05 09:00
LogEntriesHandler.php
1.58
KB
-rw-r--r--
2018-11-05 09:00
LogglyHandler.php
2.56
KB
-rw-r--r--
2018-11-05 09:00
MailHandler.php
1.58
KB
-rw-r--r--
2018-11-05 09:00
MandrillHandler.php
2.11
KB
-rw-r--r--
2018-11-05 09:00
MissingExtensionException.php
450
B
-rw-r--r--
2018-11-05 09:00
MongoDBHandler.php
1.57
KB
-rw-r--r--
2018-11-05 09:00
NativeMailerHandler.php
5.08
KB
-rw-r--r--
2018-11-05 09:00
NewRelicHandler.php
6.06
KB
-rw-r--r--
2018-11-05 09:00
NullHandler.php
953
B
-rw-r--r--
2018-11-05 09:00
PHPConsoleHandler.php
9.76
KB
-rw-r--r--
2018-11-05 09:00
PsrHandler.php
1.4
KB
-rw-r--r--
2018-11-05 09:00
PushoverHandler.php
6.47
KB
-rw-r--r--
2018-11-05 09:00
RavenHandler.php
6.96
KB
-rw-r--r--
2018-11-05 09:00
RedisHandler.php
2.82
KB
-rw-r--r--
2018-11-05 09:00
RollbarHandler.php
3.85
KB
-rw-r--r--
2018-11-05 09:00
RotatingFileHandler.php
5.75
KB
-rw-r--r--
2018-11-05 09:00
SamplingHandler.php
2.61
KB
-rw-r--r--
2018-11-05 09:00
SlackHandler.php
6.3
KB
-rw-r--r--
2018-11-05 09:00
SlackWebhookHandler.php
3.73
KB
-rw-r--r--
2018-11-05 09:00
SlackbotHandler.php
1.98
KB
-rw-r--r--
2018-11-05 09:00
SocketHandler.php
9.58
KB
-rw-r--r--
2018-11-05 09:00
StreamHandler.php
5.1
KB
-rw-r--r--
2018-11-05 09:00
SwiftMailerHandler.php
3.36
KB
-rw-r--r--
2018-11-05 09:00
SyslogHandler.php
1.8
KB
-rw-r--r--
2018-11-05 09:00
SyslogUdpHandler.php
2.51
KB
-rw-r--r--
2018-11-05 09:00
TestHandler.php
5.01
KB
-rw-r--r--
2018-11-05 09:00
WhatFailureGroupHandler.php
1.76
KB
-rw-r--r--
2018-11-05 09:00
ZendMonitorHandler.php
2.19
KB
-rw-r--r--
2018-11-05 09:00
Save
Rename
<?php /* * This file is part of the Monolog package. * * (c) Jordi Boggiano <j.boggiano@seld.be> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Monolog\Handler; use Monolog\Logger; use Monolog\Formatter\LineFormatter; /** * NativeMailerHandler uses the mail() function to send the emails * * @author Christophe Coevoet <stof@notk.org> * @author Mark Garrett <mark@moderndeveloperllc.com> */ class NativeMailerHandler extends MailHandler { /** * The email addresses to which the message will be sent * @var array */ protected $to; /** * The subject of the email * @var string */ protected $subject; /** * Optional headers for the message * @var array */ protected $headers = array(); /** * Optional parameters for the message * @var array */ protected $parameters = array(); /** * The wordwrap length for the message * @var int */ protected $maxColumnWidth; /** * The Content-type for the message * @var string */ protected $contentType = 'text/plain'; /** * The encoding for the message * @var string */ protected $encoding = 'utf-8'; /** * @param string|array $to The receiver of the mail * @param string $subject The subject of the mail * @param string $from The sender of the mail * @param int $level The minimum logging level at which this handler will be triggered * @param bool $bubble Whether the messages that are handled can bubble up the stack or not * @param int $maxColumnWidth The maximum column width that the message lines will have */ public function __construct($to, $subject, $from, $level = Logger::ERROR, $bubble = true, $maxColumnWidth = 70) { parent::__construct($level, $bubble); $this->to = is_array($to) ? $to : array($to); $this->subject = $subject; $this->addHeader(sprintf('From: %s', $from)); $this->maxColumnWidth = $maxColumnWidth; } /** * Add headers to the message * * @param string|array $headers Custom added headers * @return self */ public function addHeader($headers) { foreach ((array) $headers as $header) { if (strpos($header, "\n") !== false || strpos($header, "\r") !== false) { throw new \InvalidArgumentException('Headers can not contain newline characters for security reasons'); } $this->headers[] = $header; } return $this; } /** * Add parameters to the message * * @param string|array $parameters Custom added parameters * @return self */ public function addParameter($parameters) { $this->parameters = array_merge($this->parameters, (array) $parameters); return $this; } /** * {@inheritdoc} */ protected function send($content, array $records) { $content = wordwrap($content, $this->maxColumnWidth); $headers = ltrim(implode("\r\n", $this->headers) . "\r\n", "\r\n"); $headers .= 'Content-type: ' . $this->getContentType() . '; charset=' . $this->getEncoding() . "\r\n"; if ($this->getContentType() == 'text/html' && false === strpos($headers, 'MIME-Version:')) { $headers .= 'MIME-Version: 1.0' . "\r\n"; } $subject = $this->subject; if ($records) { $subjectFormatter = new LineFormatter($this->subject); $subject = $subjectFormatter->format($this->getHighestRecord($records)); } $parameters = implode(' ', $this->parameters); foreach ($this->to as $to) { mail($to, $subject, $content, $headers, $parameters); } } /** * @return string $contentType */ public function getContentType() { return $this->contentType; } /** * @return string $encoding */ public function getEncoding() { return $this->encoding; } /** * @param string $contentType The content type of the email - Defaults to text/plain. Use text/html for HTML * messages. * @return self */ public function setContentType($contentType) { if (strpos($contentType, "\n") !== false || strpos($contentType, "\r") !== false) { throw new \InvalidArgumentException('The content type can not contain newline characters to prevent email header injection'); } $this->contentType = $contentType; return $this; } /** * @param string $encoding * @return self */ public function setEncoding($encoding) { if (strpos($encoding, "\n") !== false || strpos($encoding, "\r") !== false) { throw new \InvalidArgumentException('The encoding can not contain newline characters to prevent email header injection'); } $this->encoding = $encoding; return $this; } }