Jelajahi Sumber

Update install.sh

molon 4 tahun lalu
induk
melakukan
6b5d5c197f
1 mengubah file dengan 2 tambahan dan 8 penghapusan
  1. 2 8
      scripts/install.sh

+ 2 - 8
scripts/install.sh

@@ -11,12 +11,6 @@ gen64() {
 	}
 	}
 	echo "$1:$(ip64):$(ip64):$(ip64):$(ip64)"
 	echo "$1:$(ip64):$(ip64):$(ip64):$(ip64)"
 }
 }
-gen112() {
-	ip112() {
-		echo "${array[$RANDOM % 16]}${array[$RANDOM % 16]}${array[$RANDOM % 16]}${array[$RANDOM % 16]}"
-	}
-	echo "$1::$(ip112):$(ip112)"
-}
 install_3proxy() {
 install_3proxy() {
     echo "installing 3proxy"
     echo "installing 3proxy"
     URL="https://github.com/z3APA3A/3proxy/archive/3proxy-0.8.6.tar.gz"
     URL="https://github.com/z3APA3A/3proxy/archive/3proxy-0.8.6.tar.gz"
@@ -71,7 +65,7 @@ upload_proxy() {
 gen_data() {
 gen_data() {
 	# echo "usr$(random)/pass$(random)/$IP4/$port/$(gen64 $IP6)"
 	# echo "usr$(random)/pass$(random)/$IP4/$port/$(gen64 $IP6)"
     seq $FIRST_PORT $LAST_PORT | while read port; do
     seq $FIRST_PORT $LAST_PORT | while read port; do
-        echo "smile/girl/$IP4/$port/$(gen112 $IP6)"
+        echo "smile/girl/$IP4/$port/$(gen64 $IP6)"
     done
     done
 }
 }
 
 
@@ -85,7 +79,7 @@ EOF
 # or https://superuser.com/questions/203272/list-only-the-device-names-of-all-available-network-interfaces
 # or https://superuser.com/questions/203272/list-only-the-device-names-of-all-available-network-interfaces
 gen_ifconfig() {
 gen_ifconfig() {
     cat <<EOF
     cat <<EOF
-$(awk -F "/" '{print "ifconfig eth0 inet6 add " $5 "/112"}' ${WORKDATA})
+$(awk -F "/" '{print "ifconfig eth0 inet6 add " $5 "/64"}' ${WORKDATA})
 EOF
 EOF
 }
 }
 echo "installing apps"
 echo "installing apps"