- caddy-*: http server related files
- v2ray-*: v2ray related files
- forword-*: files to relay requests
The MTProto
is easy to block; shadowsocks
is hard to identify but cannot work without a client.
You can deylop this docker image to run a relay inside the firewall (China/Russia etc.), it provide a MTProto and all the packets will be sent through shadowsocks protocol.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"io" | |
"log" | |
"net" | |
"os" | |
"time" | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
proxies_original = { | |
'http': 'socks5://127.0.0.1:18081', | |
'https': 'socks5://127.0.0.1:18081' | |
} | |
proxies_my = { | |
'http': 'socks5://127.0.0.1:18080', | |
'https': 'socks5://127.0.0.1:18080' | |
} |
下载官方SDK后,修改脚本中的WORKDIR
,chmod +x shadowsocks-build.sh
后执行即可。
我编译的版本(10/07/2018) https://drive.google.com/drive/folders/1kTR73hkzAeMW-gXE2EacNa4Yte8o7JWU
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var SMS = global('SMSRB'); | |
var SENDER = global('SMSRF'); | |
var SMSCONTENT = SMS + "\nSender: " + SENDER + "\nFrom Mobile" | |
var url = "https://xxxxxxxx/sendMessage?chat_id=0000000"; | |
var xhttp = new XMLHttpRequest(); | |
xhttp.open("POST", url, false); | |
xhttp.setRequestHeader("Content-type","application/x-www-form-urlencoded"); | |
xhttp.send("text="+encodeURIComponent(SMSCONTENT)); |
To help users in China mainland access telegram api stably and conveniently with low cost, this script maybe the one you need.
The server-less means you don't have to run a server to proxy the requests, just pay as you go.
Edit key_prefix
, set it to the prefix of you bot address(like /bot563441998:
) can avoid abusing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
import json | |
import random | |
headers = { | |
"User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15G77 MicroMessenger/6.7.1", | |
"Referer": "https://servicewechat.com/wx89db226245a4cdc4/18/page-frame.html", | |
"Content-Type": "application/json", | |
"Accept-Encoding": "gzip, deflate" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import requests | |
import time | |
def login(): | |
username = "" | |
password = "" | |
url = "http://10.108.255.249/include/auth_action.php" | |
data = {"username": username, |