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
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| trap 'echo "Error at line $LINENO"; exit 1' ERR | |
| usage() { | |
| cat <<EOF | |
| Usage: ${0##*/} -e <exe> -d <dest> [-p <filter_dir>] [-v] | |
| Options: | |
| -e 可执行文件 (必需) | |
| -d 目标目录 (必需) |
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
| #!/bin/bash | |
| lan="enx8e6a234ea26a" | |
| ipset restore -f /usr/local/etc/ipset/cnipset.conf | |
| ip rule add fwmark 1 table 100 | |
| ip route add local 0.0.0.0/0 dev lo table 100 | |
| iptables -t mangle -A PREROUTING -m state --state NEW -i $lan -j CONNMARK --or-mark 64 |
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 ( | |
| "fmt" | |
| "math/rand" | |
| "net" | |
| "os" | |
| "strconv" | |
| "sync" | |
| "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
| (async () => { | |
| let u = new URL(location.href); | |
| let mc = u.pathname.match(/detail\/mc(\d+)/); | |
| if (mc.length != 2) { | |
| return | |
| } | |
| let mcid = mc[1]; | |
| let r = await fetch("https://manga.bilibili.com/twirp/comic.v1.Comic/ComicDetail?device=pc&platform=web", { | |
| "headers": { |
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
| { | |
| "1.18.1": ":2.14.1", | |
| "1.18.1-rc3": ":2.14.1", | |
| "1.18.1-rc2": ":2.14.1", | |
| "1.18.1-rc1": ":2.14.1", | |
| "1.18.1-pre1": ":2.14.1", | |
| "1.18": ":2.14.1", | |
| "1.18-rc4": ":2.14.1", | |
| "1.18-rc3": ":2.14.1", | |
| "1.18-rc2": ":2.14.1", |