From 7a7428c5947846759afc8cc7184284bdf2afe663 Mon Sep 17 00:00:00 2001 From: gggeek Date: Fri, 20 Jan 2023 10:26:47 +0000 Subject: [PATCH] debugger nitpicks, hardening --- debugger/action.php | 10 +++----- debugger/common.php | 55 ++++++++++++++++++++++++----------------- debugger/controller.php | 11 +++++---- debugger/index.php | 2 +- 4 files changed, 43 insertions(+), 35 deletions(-) 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