+85
@@ -0,0 +1,85 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset=utf-8 />
|
||||||
|
<title>Serv00-sb-yg本地SSH专用一键脚本:https://github.com/yonggekkk/sing-box-yg</title>
|
||||||
|
<style type="text/css">
|
||||||
|
* {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
body {
|
||||||
|
background-image: linear-gradient(137deg, #2E457B 0%, #237431 100%) !important;
|
||||||
|
background-attachment: fixed;
|
||||||
|
color: #333;
|
||||||
|
font-family: Arial, Verdana, Tahoma;
|
||||||
|
font-size: 13px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#main {
|
||||||
|
background: #FFF;
|
||||||
|
box-shadow: 0 0 40px #00275A;
|
||||||
|
margin-top: 65px;
|
||||||
|
padding-top: 20px;
|
||||||
|
padding-bottom: 20px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#mainwrapper {
|
||||||
|
display: table;
|
||||||
|
text-align: center;
|
||||||
|
margin: 0 auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
color: #EE6628;
|
||||||
|
font-size: 44px;
|
||||||
|
font-weight: normal;
|
||||||
|
text-shadow: 1px 1px 2px #A7A7A7;
|
||||||
|
}
|
||||||
|
|
||||||
|
h2 {
|
||||||
|
color: #385792;
|
||||||
|
font-weight: normal;
|
||||||
|
font-size: 25px;
|
||||||
|
text-shadow: 1px 1px 2px #D4D4D4;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
text-align: left;
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
margin-top: 20px;
|
||||||
|
color: #888;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #4D73BB;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover, a:focus {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div id="main">
|
||||||
|
<div id="mainwrapper">
|
||||||
|
<h1>===========================================</b></h1>
|
||||||
|
<h1>甬哥侃侃侃ygkkk Serv00-sb-yg一键三协议共存脚本</h1>
|
||||||
|
<h1>===========================================</b></h1>
|
||||||
|
<h1>YouTubu视频教程 <a href="https://www.youtube.com/@ygkkk">点击进入</a>.</h1>
|
||||||
|
<h1>Github项目地址 <a href="https://github.com/yonggekkk/sing-box-yg">点击进入</a>.</h1>
|
||||||
|
<h1>教程博客地址 <a href="https://ygkkk.blogspot.com">点击进入</a>.</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -630,8 +630,7 @@ vma_link="vmess://$(echo "{ \"v\": \"2\", \"ps\": \"$NAME-vmess-ws-argo\", \"add
|
|||||||
echo "$vma_link" >> jh.txt
|
echo "$vma_link" >> jh.txt
|
||||||
hy2_link="hysteria2://$UUID@$IP:$hy2_port?sni=www.bing.com&alpn=h3&insecure=1#$NAME-hy2"
|
hy2_link="hysteria2://$UUID@$IP:$hy2_port?sni=www.bing.com&alpn=h3&insecure=1#$NAME-hy2"
|
||||||
echo "$hy2_link" >> jh.txt
|
echo "$hy2_link" >> jh.txt
|
||||||
url=$(cat jh.txt 2>/dev/null)
|
baseurl=$(base64 -w 0 < jh.txt)
|
||||||
baseurl=$(echo -e "$url" | base64 -w 0)
|
|
||||||
|
|
||||||
cat > sing_box.json <<EOF
|
cat > sing_box.json <<EOF
|
||||||
{
|
{
|
||||||
@@ -1105,9 +1104,10 @@ EOF
|
|||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
[ -d "$FILE_PATH" ] || mkdir -p "$FILE_PATH"
|
[ -d "$FILE_PATH" ] || mkdir -p "$FILE_PATH"
|
||||||
echo "$baseurl" > ${FILE_PATH}/${UUID}_v2sub.txt
|
cat jh.txt > ${FILE_PATH}/${UUID}_v2sub.txt
|
||||||
cat clash_meta.yaml > ${FILE_PATH}/${UUID}_clashmeta.txt
|
cat clash_meta.yaml > ${FILE_PATH}/${UUID}_clashmeta.txt
|
||||||
cat sing_box.json > ${FILE_PATH}/${UUID}_singbox.txt
|
cat sing_box.json > ${FILE_PATH}/${UUID}_singbox.txt
|
||||||
|
curl -sL https://raw.githubusercontent.com/yonggekkk/sing-box-yg/main/index.html -o "$FILE_PATH"/index.html
|
||||||
V2rayN_LINK="https://${USERNAME}.serv00.net/${UUID}_v2sub.txt"
|
V2rayN_LINK="https://${USERNAME}.serv00.net/${UUID}_v2sub.txt"
|
||||||
Clashmeta_LINK="https://${USERNAME}.serv00.net/${UUID}_clashmeta.txt"
|
Clashmeta_LINK="https://${USERNAME}.serv00.net/${UUID}_clashmeta.txt"
|
||||||
Singbox_LINK="https://${USERNAME}.serv00.net/${UUID}_singbox.txt"
|
Singbox_LINK="https://${USERNAME}.serv00.net/${UUID}_singbox.txt"
|
||||||
|
|||||||
Reference in New Issue
Block a user