From e8f8296d5359a4f203a9e757c6e0816ac1739fc6 Mon Sep 17 00:00:00 2001 From: Carlos V <76731844+cvc90@users.noreply.github.com> Date: Sat, 19 Aug 2023 09:29:11 +0200 Subject: [PATCH] Create nslookup.php nslookup.php file is created to perform "nslookup" functions --- 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 ""; + +?>