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\Formatter\LineFormatter; use Monolog\Logger; /** * Sends logs to Fleep.io using Webhook integrations * * You'll need a Fleep.io account to use this handler. * * @see https://fleep.io/integrations/webhooks/ Fleep Webhooks Documentation * @author Ando Roots <ando@sqroot.eu> */ class FleepHookHandler extends SocketHandler { const FLEEP_HOST = 'fleep.io'; const FLEEP_HOOK_URI = '/hook/'; /** * @var string Webhook token (specifies the conversation where logs are sent) */ protected $token; /** * Construct a new Fleep.io Handler. * * For instructions on how to create a new web hook in your conversations * see https://fleep.io/integrations/webhooks/ * * @param string $token Webhook token * @param bool|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 * @throws MissingExtensionException */ public function __construct($token, $level = Logger::DEBUG, $bubble = true) { if (!extension_loaded('openssl')) { throw new MissingExtensionException('The OpenSSL PHP extension is required to use the FleepHookHandler'); } $this->token = $token; $connectionString = 'ssl://' . self::FLEEP_HOST . ':443'; parent::__construct($connectionString, $level, $bubble); } /** * Returns the default formatter to use with this handler * * Overloaded to remove empty context and extra arrays from the end of the log message. * * @return LineFormatter */ protected function getDefaultFormatter() { return new LineFormatter(null, null, true, true); } /** * Handles a log record * * @param array $record */ public function write(array $record) { parent::write($record); $this->closeSocket(); } /** * {@inheritdoc} * * @param array $record * @return string */ protected function generateDataStream($record) { $content = $this->buildContent($record); return $this->buildHeader($content) . $content; } /** * Builds the header of the API Call * * @param string $content * @return string */ private function buildHeader($content) { $header = "POST " . self::FLEEP_HOOK_URI . $this->token . " HTTP/1.1\r\n"; $header .= "Host: " . self::FLEEP_HOST . "\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .= "Content-Length: " . strlen($content) . "\r\n"; $header .= "\r\n"; return $header; } /** * Builds the body of API call * * @param array $record * @return string */ private function buildContent($record) { $dataArray = array( 'message' => $record['formatted'], ); return http_build_query($dataArray); } }