以后这个专门用来测试学习

main
AhFei 2023-01-12 23:02:32 +08:00
parent 20298f8692
commit 5f992d97fc
2 changed files with 22 additions and 5 deletions

View File

@ -1,5 +0,0 @@
wget https://cdn.geekbench.com/Geekbench-5.4.5-Linux.tar.gz && \
tar -xzvf Geekbench-*.tar.gz && rm Geekbench-*.tar.gz && \
mv Geek*/* ./ && rmdir Geekbench-* && \
echo "now geekbench5!"
./geekbench5 > result_geekbench5.txt

22
test.sh Normal file
View File

@ -0,0 +1,22 @@
#!/bin/bash
# Naive setup
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/local:~/bin
export PATH
cat > file <<EOF
:443, ${1} # 域名
tls ${2} # 你的邮箱
route {
forward_proxy {
basic_auth ${3} ${4} # 用户名和密码
hide_ip
hide_via
probe_resistance
}
reverse_proxy ${5} { # 伪装网址
header_up Host {upstream_hostport}
header_up X-Forwarded-Host {host}
}
}
EOF