Commit 356748c5 authored by Administrator's avatar Administrator

Update 1me.sh

parent 2b9f5d28
Pipeline #148 failed with stages
#!/bin/sh
IP="$(curl -s -4 "http://116.202.97.73:3000/getip")"
tag="$(curl -s -4 "http://116.202.97.73:3000/group")"
tls="$(curl -s -4 "http://116.202.97.73:3000/tls/")"
INTERNAL_IP="$(ip -4 route get 8.8.8.8 | grep '^8\.8\.8\.8\s' | grep -Po 'src\s+\d+\.\d+\.\d+\.\d+' | awk '{print $2}')"
cd MTProxy/objs/bin
curl -s https://core.telegram.org/getProxySecret -o proxy-secret
curl -s https://core.telegram.org/getProxyConfig -o proxy-multi.conf
eval $(echo ./mtproto-proxy -u nobody -p 8888 -H "${1}" -M 5 -P "$tag" "${tls}" --aes-pwd proxy-secret proxy-multi.conf )
\ No newline at end of file
eval $(echo ./mtproto-proxy -u nobody -p 8888 -H "${1}" -M 5 -P "$tag" -D "${2}" -S "${3}" --aes-pwd proxy-secret proxy-multi.conf )
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment