-
A computer (tested on Windows 10, but I don't see any reason it won't work with macOS or Linux).
-
A LineageOS 16/17 compatible phone (LineageOS 16 is recommended, some users reported random crash on LineageOS 17).
-
Download the minimal ADB from XDA Developers Forum and unzip it.
This file contains 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
#!/bin/bash | |
#OpenVPN Server on CentOS OpenVZ VPS Script by Yasyf Mohamedali (http://blog.yasyf.com/2012/08/01/openvpn-server-on-a-centos-openvz-vps) | |
#Adapted from various scripts around the net, including http://www.openvz.ca/blog/2010/11/18/setup-tuntap-openvpn-server-openvz-5-minutes/ | |
#https://gist.github.com/3230440 | |
tunstate=`cat /dev/net/tun` | |
if [ "$tunstate" = "cat: /dev/net/tun: Permission denied" ] | |
then | |
clear | |
echo "Sorry, but it seems that TUN/TAP is not enabled on your VPS." | |
exit |
This file contains 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 cfscrape | |
import json | |
import sys | |
import argparse | |
import requests | |
import logging | |
from queue import Queue | |
from threading import Thread |
This file contains 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
#!/usr/bin/env python3 | |
import asyncio | |
from vpn import get_proxy | |
proxy = port = auth = None | |
pool = asyncio.Queue(5) | |
psize = 0 | |
async def process_client(client_reader, client_writer, *, CHUNK=4096): | |
global psize |