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();