From 521e1a17c23df929495c54a62fe867ef005fc173 Mon Sep 17 00:00:00 2001 From: FxProjects <129590066+FxProjects@users.noreply.github.com> Date: Tue, 13 Aug 2024 22:39:38 +0500 Subject: [PATCH] Update index.php max port must be 65535 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.php b/index.php index ddc4f59..1443ba7 100644 --- a/index.php +++ b/index.php @@ -90,7 +90,7 @@ public function delete($uid){ public function genVmess($remark = null, $port = null, $traffic = 0){ if($remark == null) $remark = $this->RandomString(); - if($port == null) $port = rand(11111, 99999); + if($port == null) $port = rand(11111, 65535); $traffic = $traffic * 1024 * 1024 * 1024; $guidv4 = $this->guidv4(); $ch = curl_init();