From 8e34737a24239a7435bcdc264f9abbb469346447 Mon Sep 17 00:00:00 2001 From: Nasir Hafeez <38311694+nasirhafeez@users.noreply.github.com> Date: Sun, 2 Mar 2025 11:54:58 +0500 Subject: [PATCH] ruckus vsz https --- Ruckus/smartzone.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Ruckus/smartzone.php b/Ruckus/smartzone.php index c86363b..2ae4719 100644 --- a/Ruckus/smartzone.php +++ b/Ruckus/smartzone.php @@ -9,6 +9,10 @@ session_start(); $username = 'admin'; $password = 'Admin@123'; +// WAN IP or hostname + +$wan = "206.84.142.6"; + // Redirect URL after successful user authorization $redirectURL = "https://www.google.com"; @@ -17,8 +21,8 @@ $redirectURL = "https://www.google.com"; if (!isset($_POST['submit'])) { - $_SESSION['url'] = "http://" . $_GET['nbiIP'] . ":9080/portalintf"; - // In case of https: $_SESSION['url'] = "https://" . $_GET['nbiIP'] . ":9443/portalintf"; + $_SESSION['url'] = "https://" . $wan . ":9443/portalintf"; + // In case of http: $_SESSION['url'] = "http://" . $_GET['nbiIP'] . ":9080/portalintf"; $_SESSION['client_mac'] = $_GET['client_mac']; $_SESSION['uip'] = $_GET['uip']; } else {