ヤミ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: pearbug13693.phpt
--TEST-- pearbug13693 --FILE-- <?php require_once __DIR__ . '/bootstrap.php'; require_once __DIR__ . '/../Cache/Lite.php'; // Create temp dir $dir = dirname( __FILE__ ) . '/' . uniqid(); mkdir($dir); $options = array( 'cacheDir' => $dir, 'lifeTime' => 60, ); $id = '#13693'; $cache = new Cache_Lite($options); $cache->save('stuff', $id); // Must be true echo $cache->remove($id) === true ? "OK\n" : "ERROR\n"; // Will return a PEAR Error echo $cache->remove($id) instanceof PEAR_Error ? "OK\n" : "ERROR\n"; // Will return true echo $cache->remove($id, 'default', true) === true ? "OK\n" : "ERROR\n"; // Remove temp dir rmdir($dir); --EXPECT-- OK OK OK
Coded With 💗 by
0x6ick