bear 月与灯依旧 2023-12-25 Get Ubuntu release code name in Script $ lsb_release -h Usage: lsb_release [options] Options: -h, --help show this help message and exit -v, --version show LSB modules this system supports -i, --id show distributor ID -d, --description show description of this distribution -r, --release show release number of this distribution -c, --codename show code name of this distribution -a, --all show all of the above information -s, --short show requested information in short format $ lsb_release -a No LSB modules are available. Distributor #Linux运维 #Linux #ubuntu
bear 月与灯依旧 2022-10-25 pproxy简单介绍 pproxy是一个简单的小工具, 顾名思议它是一个临时的代理小工具. 下面介绍其使用方法. 安装 服务端和客户端都可以使用如下方式进行安装 pip3 install pproxy 服务端运行 pproxy -l ss://aes-128-gcm:MyPassword@:3389 客户端运行 客户端简单运行 pproxy -r ss://aes-128-gcm:MyPassword@ServerIP:3389 -vv 然后客户端会提示”Serving on :8080 by http,socks4,socks5″. 客户端建立http代理 sudo pproxy -l http://127.0.0.1:8080 -r ss://aes-128-gcm:MyPassword@ServerIP:3389 -vv 然后客户端会提示”Serving on 127.0.0.1:8080 by http”. 客户端建立DNS tunnel 由于ss(AEAD)协议不支持udp, 因此我们只能换用socks5或者tunnel (raw socket)协议来支持udp. 服 #电脑网络 #Linux #python