Skip to content

Instantly share code, notes, and snippets.

View sitsh's full-sized avatar

wilsonjw sitsh

  • ebitoo
  • shagnhai
View GitHub Profile
收录备用
项目地址,欢迎 star:https://github.com/leitbogioro/Tools
萌咖的一键重装脚本近期经过更新,已经支持 Debian 11/Ubuntu 20.04 等新系统,加入了对 Oracle ARM 机型的支持,现对该脚本进行了一些优化,以增强重装脚本的适用性和实用性。
脚本特色:
https://zhuanlan.zhihu.com/p/569452790
补充点可用的IP:
上海/电信:
180.163.150.34
180.163.151.34
180.163.151.162
180.163.150.162
@sitsh
sitsh / gist:638783950d958bca2ddd5efec11e7815
Created September 27, 2022 12:19
Xray中转观看Netflix
这个说过很多次了。ray系的锅,因为内置DNS只能解析A/AAAA,非A/AAAA会放行走默认outbound(不经内置路由)
,ios14+因为率先支持http3,其会优先查询HTTPS记录(type65),ray不支持。iOS的Netflix app也会不定时主动向dns.google发起查询
,你也要拦截下来,将HTTPS的查询转发到第三方DNS(比如官网说的coredns),将type65拦截拒绝查询。说难不难,说简单但也要有一定动手能力。
这个说过很多次了。ray系的锅,因为内置DNS只能解析A/AAAA,非A/AAAA会放行走默认outbound(不经内置路由) ...
有没有教程,谢谢
@sitsh
sitsh / nginx proxy config
Created May 3, 2022 14:12
nginx proxy config
server {
listen 80;
server_name localhost; #改成自己的域名
root "/home/wwwroot/default"; #改自己的服务器目录
set $custom_host "https://www.baidu.com";
set $custom_host3 "/";
set $custom_host5 "/";
if ($request_uri ~* ^\/((http|https)://(www.)?(\w+(\.)?)+)(.*?)$) {
set $custom_host $1;
@sitsh
sitsh / block-adobe
Last active December 13, 2021 05:50
block-adobe
127.0.0.1 activate.adobe.com
127.0.0.1 practivate.adobe.com
127.0.0.1 ereg.adobe.com
127.0.0.1 wip3.adobe.com
127.0.0.1 activate.wip3.adobe.com
127.0.0.1 3dns-3.adobe.com
127.0.0.1 3dns-2.adobe.com
127.0.0.1 adobe-dns.adobe.com
127.0.0.1 adobe-dns-2.adobe.com
127.0.0.1 adobe-dns-3.adobe.com
@sitsh
sitsh / gist:3300e36a5ddc6f78489ddf44f5a6d26d
Created August 22, 2021 17:09
MoeClub InstallNET.sh new
万能不更新了,今天更新了一下
1.新增对 Oracle AMD,Oracle ARM全面支持. 可支持从 Ubuntu, Oracle Linux 等系统网络重装.
2.更新 dd 镜像的基础系统版本.
3.移除对外部 wget 的依赖.
4.新增 -port 参数, 可更改默认SSH端口.
5.更新 内置的网络参数计算 逻辑.
6.更新 grub 配置文件定位逻辑, 可支持任意引导grub的系统.
#Certify The Web 复制请求成功的证书 pfx 文件 到指定目录的 ps 脚本
param($result) # required to access the $result parameter
# object containing all information Certify has about the saved Site
$result.ManagedItem
# the path to the created/renewed certificate PFX file
#$result.ManagedItem.CertificatePath # ex: "C:\ProgramData\Certify\certes\assets\pfx\00f9e07e-83ca-4029-a173-4b704ee78996.pfx"
# Caddy Server
> 官网 https://caddyserver.com/
## Caddy 是用Go 写的一个webServer
* 集成 Let's Encrypt 自动签发证书
* 内置 支持Http/2
* 内置 支持 TLS 1.3
* 配置简单容易上手
# GLiNet MT300N-V2 安装 SSR plus 插件
GLiNet 是一家 生产 便携路由的国内厂商 好像外销为主。
最主要的是他家 路由系统采用的是开源 OpenWrt 系统 并在github 上开源 并提供sdk 和 很多插件
但是国内政策的关系 国内买到的路由器固件内 并没有提供直接安装 SS SSR V2ray 的方法。
经过在 恩三论坛 学习了下(www.right.com.cn) 已经成功把lean 开源的(https://github.com/coolsnowwolf/lede.git) SSR plus 插件 成功的安装到了 MT300N-V2 固件中,下面记录一些安装步骤。
wget -O- http://down.80host.com/iso/dd/WS2008R2Enterprise-Joodle-Template.gz |gunzip|dd of=/dev/vda
wget -O- http://down.80host.com/iso/dd/Windows2012R2-Joodle-Template.gz |gunzip|dd of=/dev/vda
Username: Administrator
Password: Password147
wget -O- http://down.80host.com/iso/dd/Windows7-Joodle-Template.gz |gunzip|dd of=/dev/vda
wget -O- http://down.80host.com/iso/dd/Windows8.1-Joodle-Template.gz |gunzip|dd of=/dev/vda
Username: Admin