Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html /
gf.bdcloud.fr /
includes /
DebugBar /
Delete
Unzip
Name
Size
Permission
Date
Action
Bridge
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
DataCollector
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
DataFormatter
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
Resources
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
Storage
[ DIR ]
drwxr-xr-x
2025-11-08 11:17
DebugBar.php
11.98
KB
-rw-r--r--
2020-10-12 13:33
DebugBarException.php
305
B
-rw-r--r--
2020-10-12 13:33
HttpDriverInterface.php
1.2
KB
-rw-r--r--
2020-10-12 13:33
JavascriptRenderer.php
27.22
KB
-rw-r--r--
2020-10-12 13:33
OpenHandler.php
2.55
KB
-rw-r--r--
2020-10-12 13:33
PhpHttpDriver.php
928
B
-rw-r--r--
2020-10-12 13:33
RequestIdGenerator.php
477
B
-rw-r--r--
2020-10-12 13:33
RequestIdGeneratorInterface.php
416
B
-rw-r--r--
2020-10-12 13:33
StandardDebugBar.php
1011
B
-rw-r--r--
2020-10-12 13:33
Save
Rename
<?php /* * This file is part of the DebugBar package. * * (c) 2013 Maxime Bouroumeau-Fuseau * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace DebugBar; /** * Handler to list and open saved dataset */ class OpenHandler { protected $debugBar; /** * @param DebugBar $debugBar */ public function __construct(DebugBar $debugBar) { if (!$debugBar->isDataPersisted()) { throw new DebugBarException("DebugBar must have a storage backend to use OpenHandler"); } $this->debugBar = $debugBar; } /** * Handles the current request * * @param array $request Request data */ public function handle($request = null, $echo = true, $sendHeader = true) { if ($request === null) { $request = $_REQUEST; } $op = 'find'; if (isset($request['op'])) { $op = $request['op']; if (!in_array($op, array('find', 'get', 'clear'))) { throw new DebugBarException("Invalid operation '{$request['op']}'"); } } if ($sendHeader) { $this->debugBar->getHttpDriver()->setHeaders(array( 'Content-Type' => 'application/json' )); } $response = json_encode(call_user_func(array($this, $op), $request)); if ($echo) { echo $response; } return $response; } /** * Find operation */ protected function find($request) { $max = 20; if (isset($request['max'])) { $max = $request['max']; } $offset = 0; if (isset($request['offset'])) { $offset = $request['offset']; } $filters = array(); foreach (array('utime', 'datetime', 'ip', 'uri', 'method') as $key) { if (isset($request[$key])) { $filters[$key] = $request[$key]; } } return $this->debugBar->getStorage()->find($filters, $max, $offset); } /** * Get operation */ protected function get($request) { if (!isset($request['id'])) { throw new DebugBarException("Missing 'id' parameter in 'get' operation"); } return $this->debugBar->getStorage()->get($request['id']); } /** * Clear operation */ protected function clear($request) { $this->debugBar->getStorage()->clear(); return array('success' => true); } }