From: gggeek Date: Fri, 20 Jan 2023 10:26:47 +0000 (+0000) Subject: debugger nitpicks, hardening X-Git-Tag: 4.10.0~120 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=7a7428c5947846759afc8cc7184284bdf2afe663;p=plcapi.git debugger nitpicks, hardening --- diff --git a/debugger/action.php b/debugger/action.php index a2d96822..ec22c44c 100644 --- a/debugger/action.php +++ b/debugger/action.php @@ -101,9 +101,6 @@ if ($action) { } if ($wstype == 1) { - if (!class_exists('\PhpXmlRpc\JsonRpc\Client')) { - die('Error: to debug the jsonrpc protocol the phpxmlrpc/jsonrpc package is needed'); - } $clientClass = '\PhpXmlRpc\JsonRpc\Client'; $requestClass = '\PhpXmlRpc\JsonRpc\Request'; $protoName = 'JSON-RPC'; @@ -492,8 +489,8 @@ if ($action) { "" . "" . "" . - "" . "" . + "" . ""; echo "\n"; } @@ -560,7 +557,7 @@ if ($action) {
  • Run a 'list available methods' action against desired server
  • If list of methods appears, click on 'describe method' for desired method
  • To run method: click on 'load method synopsis' for desired method. This will load a skeleton for method call - parameters in the form above. Complete all xmlrpc values with appropriate data and click 'Execute' + parameters in the form above. Complete all xml-rpc values with appropriate data and click 'Execute'
  • Changelog