python脚本搭建Socks5代理
挺实用的。之前看的文章都是用ss5来搭建,麻烦不说,代码都是2013年的了。
https://sourceforge.net/projects/ss5/files/
这个socks5的脚本,就1个文件,支持用户名密码,一行命令就搞定了。
简单实用。
https://github.com/fengyouchao/pysocks/
挺实用的。之前看的文章都是用ss5来搭建,麻烦不说,代码都是2013年的了。
https://sourceforge.net/projects/ss5/files/
这个socks5的脚本,就1个文件,支持用户名密码,一行命令就搞定了。
简单实用。
https://github.com/fengyouchao/pysocks/
MySQL Workbench 8.0提示SSL connection error: SSL is required but the server doesn‘t support it
解决办法:
1,卸载换旧版,可以选择不走SSL.
2,
1、先在workbench中创建一个连接,关闭workbench
2、打开C:\Users[用户名]\AppData\Roaming\MySQL\Workbench\connections.xml,找到这个连接的相关信息,然后修改 <value type="int" key="useSSL">2</value>为<value type="int" key="useSSL">1</value>
3、重新打开workbench,双击连接信息连接数据库
删完之后,用文件粉碎机删掉即可。
sc delete CybereasonActiveProbe
sc delete CybereasonBlocki
sc delete CybereasonCRS
sc delete CybereasonProtectedSvc
sc delete "LANDesk Targeted Multicast"
sc delete "Softmon"
sc dlete "Intel Local Scheduler Service"
sc delete "Intel PDS"
sc dlete CBA8
sc delete IvAppMonSvc
sc delete SecureConnector
一些VPS(比如virmach)做代理访问google会出验证码。
做个分流,google走IPv6,其他走ipv4,vps本身的IP出去。
先装warp让他支持IPV6。
参考:https://p3terx.com/archives/cloudflare-warp-configuration-script.html
# 自动配置 WARP WireGuard 双栈全局网络
bash <(curl -fsSL git.io/warp.sh) d
然后修改V2RAY的配置:
{
"inbounds": [
{
"port": 23333,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "66666666-8888-7777-6666-888888888888",
"alterId": 64
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path":"/t00ls.kele/"
}
},
"sniffing": {
"enabled": true,
"destOverride": ["http", "tls"]
}
}
],
"outbounds": [
{
"tag":"IP4_out",
"protocol": "freedom",
"settings": {}
},
{
"tag":"IP6_out",
"protocol": "freedom",
"settings": {
"domainStrategy": "UseIPv6"
}
}
],
"routing": {
"rules": [
{
"type": "field",
"outboundTag": "IP6_out",
"domain": ["geosite:netflix","geosite:google"]
},
{
"type": "field",
"outboundTag": "IP4_out",
"network": "udp,tcp"
}
]
}
}
重启V2RAY。
IPv4 优先
编辑 /etc/gai.conf 文件,在末尾添加下面这行配置:
precedence ::ffff:0:0/96 100
IPv6 优先
编辑 /etc/gai.conf 文件,在末尾添加下面这行配置:
label 2002::/16 2
验证优先级
执行 curl ip.p3terx.com 命令,显示 IPv4 地址则代表 IPv4 优先,否则为 IPv6 优先。