From 87a10a721b705fbc08c1273a30478a1d19ba9716 Mon Sep 17 00:00:00 2001 From: Carlos V <76731844+cvc90@users.noreply.github.com> Date: Wed, 6 Sep 2023 18:34:19 +0200 Subject: [PATCH] Create traceroute.php Created file "traceroute.php" to perform the necessary functions of the "Tracert" command in the "Tools" tab --- front/php/server/traceroute.php | 40 +++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 front/php/server/traceroute.php diff --git a/front/php/server/traceroute.php b/front/php/server/traceroute.php new file mode 100644 index 00000000..affcaac6 --- /dev/null +++ b/front/php/server/traceroute.php @@ -0,0 +1,40 @@ +"; + echo $output; + echo ""; + exit; +} + +// Test with the "Traceroute" command +$output = shell_exec("traceroute $ip"); + +// Show the result +echo "
"; +echo $output; +echo ""; + +?>