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