Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
lib /
php /
test /
Log /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
backtrace.phpt
1.6
KB
-rw-r--r--
composite.phpt
2.29
KB
-rw-r--r--
console.phpt
1.15
KB
-rw-r--r--
display.phpt
1.57
KB
-rw-r--r--
error_log.phpt
710
B
-rw-r--r--
extract-zend2.0.phpt
1.72
KB
-rw-r--r--
extract-zend2.2.phpt
1.67
KB
-rw-r--r--
factory.phpt
403
B
-rw-r--r--
file.phpt
651
B
-rw-r--r--
firebug.phpt
2.48
KB
-rw-r--r--
format.phpt
385
B
-rw-r--r--
levels.phpt
1.3
KB
-rw-r--r--
masks.phpt
941
B
-rw-r--r--
null.phpt
202
B
-rw-r--r--
priority.phpt
752
B
-rw-r--r--
singleton.phpt
431
B
-rw-r--r--
sql_ident.phpt
482
B
-rw-r--r--
sqlite.phpt
712
B
-rw-r--r--
syslog.phpt
221
B
-rw-r--r--
win-ob.phpt
2.64
KB
-rw-r--r--
win.phpt
2.6
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : win-ob.phpt
--TEST-- Log: Window Handler (Output Buffering) --INI-- date.timezone=UTC output_buffering=on --FILE-- <?php require_once 'Log.php'; $conf = array('title' => 'Test Output'); $logger = Log::singleton('win', 'test', 'ident', $conf); for ($i = 0; $i < 3; $i++) { $logger->log("Log entry $i"); } --EXPECTF-- <script language="JavaScript"> test = window.open('', 'test', 'toolbar=no,scrollbars,width=600,height=400'); test.document.writeln('<html>'); test.document.writeln('<head>'); test.document.writeln('<title>Test Output</title>'); test.document.writeln('<style type="text/css">'); test.document.writeln('body { font-family: monospace; font-size: 8pt; }'); test.document.writeln('td,th { font-size: 8pt; }'); test.document.writeln('td,th { border-bottom: #999999 solid 1px; }'); test.document.writeln('td,th { border-right: #999999 solid 1px; }'); test.document.writeln('tr { text-align: left; vertical-align: top; }'); test.document.writeln('td.l0 { color: red; }'); test.document.writeln('td.l1 { color: orange; }'); test.document.writeln('td.l2 { color: yellow; }'); test.document.writeln('td.l3 { color: green; }'); test.document.writeln('td.l4 { color: blue; }'); test.document.writeln('td.l5 { color: indigo; }'); test.document.writeln('td.l6 { color: violet; }'); test.document.writeln('td.l7 { color: black; }'); test.document.writeln('</style>'); test.document.writeln('<script type="text/javascript">'); test.document.writeln('function scroll() {'); test.document.writeln(' body = document.getElementById("test");'); test.document.writeln(' body.scrollTop = body.scrollHeight;'); test.document.writeln('}'); test.document.writeln('<\/script>'); test.document.writeln('</head>'); test.document.writeln('<body id="test" onclick="scroll()">'); test.document.writeln('<table border="0" cellpadding="2" cellspacing="0">'); test.document.writeln('<tr><th>Time</th>'); test.document.writeln('<th>Ident</th>') test.document.writeln('<th>Priority</th><th width="100%">Message</th></tr>'); </script><script language='JavaScript'> test.document.writeln('<tr><td>%i:%i:%i.%i</td><td>ident</td><td>Info</td><td class=\"l6\">Log entry 0</td></tr>'); self.focus(); </script> <script language='JavaScript'> test.document.writeln('<tr><td>%i:%i:%i.%i</td><td>ident</td><td>Info</td><td class=\"l6\">Log entry 1</td></tr>'); self.focus(); </script> <script language='JavaScript'> test.document.writeln('<tr><td>%i:%i:%i.%i</td><td>ident</td><td>Info</td><td class=\"l6\">Log entry 2</td></tr>'); self.focus(); </script> <script language='JavaScript'> test.document.writeln('</table>'); self.focus(); </script> <script language='JavaScript'> test.document.writeln('</body></html>'); self.focus(); </script>
Close