diff --git a/.idea/dataSources.local.xml b/.idea/dataSources.local.xml index 4929923..a53a258 100644 --- a/.idea/dataSources.local.xml +++ b/.idea/dataSources.local.xml @@ -1,6 +1,6 @@ - + #@ diff --git a/Public/init-script-wdd.sh b/Public/init-script-wdd.sh index 27175d8..c6546b9 100644 --- a/Public/init-script-wdd.sh +++ b/Public/init-script-wdd.sh @@ -455,7 +455,7 @@ install_zsh() { install_demand_softwares zsh git || return $? # 脚本会自动更换默认的shell if [[ $deploy_in_cn -eq 1 ]]; then - echo y | REMOTE=https://gitea.107421.xyz/zeaslity/oh-my-zsh.git sh -c "$(curl -fsSL https://gitea.107421.xyz/zeaslity/ohmyzsh/raw/branch/master/tools/install.sh)" + echo y | REMOTE=https://gitea.107421.xyz/zeaslity/ohmyzsh.git sh -c "$(curl -fsSL https://gitea.107421.xyz/zeaslity/ohmyzsh/raw/branch/master/tools/install.sh)" else echo y | sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" fi @@ -944,7 +944,7 @@ get_octopus_agent_latest_version(){ echo "find_octopus_latest_version is => $octopus_latest_version" fi - ColorEchoGreen "Octopus Agent 最新的版本为 => $octopus_latest_version" + colorEchoGreen "Octopus Agent 最新的版本为 => $octopus_latest_version" } ####################################### @@ -1215,7 +1215,7 @@ build_offline_host_ip(){ colorEchoBlue "[build_offline_host_ip] - make sure agent offline package has been synchronized to => $host_ip !" echo "" - if [[ "$host_ip" -eq "" ]]; then + if [ "$host_ip" == "" ]; then colorEchoRed "[build_offline_host_ip] - offline host ip extraction error ! break !" return 233 fi diff --git a/v2ray示例/98-subscribe-clash.yaml b/v2ray示例/98-subscribe-clash.yaml index 9979d70..e58d25c 100644 --- a/v2ray示例/98-subscribe-clash.yaml +++ b/v2ray示例/98-subscribe-clash.yaml @@ -69,8 +69,6 @@ proxy-groups: - name: 🚀 节点选择 type: select proxies: - - ♻️ 自动选择 - - DIRECT - LosAngels-BanH-Trojan - us-central-free - Seoul-Trojan @@ -83,6 +81,8 @@ proxy-groups: - onetools-35-71 - Seoul-F-Shanghai-TC - LosAngels-BanH-Trojan-Back + - ♻️ 自动选择 + - DIRECT - name: ♻️ 自动选择 type: url-test url: http://www.gstatic.com/generate_204 @@ -2326,6 +2326,7 @@ rules: - IP-CIDR6,2001:67c:4e8::/48,📲 电报信息,no-resolve - IP-CIDR6,2001:b28:f23d::/48,📲 电报信息,no-resolve - IP-CIDR6,2001:b28:f23f::/48,📲 电报信息,no-resolve + - DOMAIN-SUFFIX,hetushu.com,🚀 节点选择 - DOMAIN-SUFFIX,1password.com,🚀 节点选择 - DOMAIN-SUFFIX,v2rayse.com,🚀 节点选择 - DOMAIN-SUFFIX,vpnse.org,🚀 节点选择 diff --git a/v2ray示例/Xray-终级方案/Osaka-1使用的配置.json b/v2ray示例/Xray-终级方案/Osaka-1使用的配置.json new file mode 100644 index 0000000..71ec506 --- /dev/null +++ b/v2ray示例/Xray-终级方案/Osaka-1使用的配置.json @@ -0,0 +1,41 @@ +{ + "inbounds": [ + { + "protocol": "socks", + "listen": "0.0.0.0", + "port": 1234, + "settings": { + "auth": "noauth", + "udp": true, + "ip": "127.0.0.1", + "userLevel": 0 + } + } + ], + "outbounds": [ + { + "protocol": "socks", + "settings": { + "servers": [ + { + "address": "127.0.0.1", + "ota": false, + "port": 40000, + "level": 0 + } + ] + }, + "streamSettings": { + "network": "tcp" + }, + "mux": { + "enabled": false, + "concurrency": -1 + } + }, + { + "protocol": "freedom" + } + ] +} + diff --git a/常用脚本/uav脚本/uav批量执行命令.sh b/常用脚本/uav脚本/uav批量执行命令.sh new file mode 100644 index 0000000..b4e8a85 --- /dev/null +++ b/常用脚本/uav脚本/uav批量执行命令.sh @@ -0,0 +1,16 @@ +#!/bin/bash + + +#ip_list=(192.168.35.11 192.168.35.7 192.168.35.6 192.168.34.249 192.168.35.206 192.168.35.209 192.168.35.208 192.168.35.207 192.168.35.80 192.168.35.71 192.168.35.124 192.168.35.125 192.168.35.82 192.168.34.216 192.168.34.125 192.168.34.233 192.168.34.239 192.168.34.241 192.168.34.84 192.168.34.83 192.168.34.56 192.168.11.228 192.168.35.47 192.168.35.45) +ip_list=(192.168.34.250) + +for ip in ${ip_list[@]};do + echo "ip is $ip" +# ssh root@${ip} "echo yes" + ssh root@${ip} "ip addr | grep ${ip} -A 3" + echo "" + ssh root@${ip} "cat /etc/os-release" + echo "" + +# ssh root@${ip} "echo \"ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBO6IjOcco9eAvA/T7LDsylCgjKJlLrVXY1zxO1/mX/MTzVZGuAhbikFJT2ZN2Up8iED+pJwpcps3LlA1wOjQC3Q= root@ops-04.ecs.io\" >> /root/.ssh/authorized_keys" +done \ No newline at end of file