Skip to content

Instantly share code, notes, and snippets.

@ledudu
ledudu / lebo
Created February 16, 2020 04:13 — forked from loerise/MiTV ADBlock
乐播投屏广告屏蔽
127.0.0.1 sdkauth.hpplay.cn
127.0.0.1 adeng.hpplay.cn
127.0.0.1 ad.hpplay.cn
127.0.0.1 conf.hpplay.cn
127.0.0.1 fix.hpplay.cn
127.0.0.1 adcdn.hpplay.cn
127.0.0.1 sl.hpplay.cn
127.0.0.1 rp.hpplay.cn
@ledudu
ledudu / .Cloud.md
Created March 2, 2022 03:52 — forked from imba-tjd/.Cloud.md
☁️ 一些免费的云资源

IaaS指提供系统(可以自己选)或者储存空间之类的硬件,软件要自己手动装;PaaS提供语言环境和框架(可以自己选);SaaS只能使用开发好的软件(卖软件本身);BaaS一般类似于非关系数据库,但各家不通用,有时还有一些其它东西。

其他人的集合

@ledudu
ledudu / check.bat
Created November 27, 2020 08:05 — forked from zu1k/check.bat
KMS脚本
@echo off
::配置BAT对话框样式
title KMS服务器检查脚本
MODE con: COLS=42 lines=8
color 0a
::检测vlmcs.exe
version: "1"
rules: # Array of rules
- base: master # Required. Target branch
upstream: BlueskyClouds:master # Required. Must be in the same fork network.
mergeMethod: hardreset # Optional, one of [none, merge, squash, rebase, hardreset], Default: none.
mergeUnstable: true # Optional, merge pull request even when the mergeable_state is not clean. Default: false
@ledudu
ledudu / gw_flash.py
Created November 18, 2020 07:34 — forked from SciresM/gw_flash.py
utility for interacting with gateway modchip updates
import sys
from struct import pack as pk, unpack as up
def u32(x):
return x & 0xFFFFFFFF
def tea_update_custom_mac(mac, v, k):
v0, v1 = v[0], v[1]
cur_sum = 0xC6EF3720
k0, k1, k2, k3 = k[0], k[1], k[2], k[3]
@ledudu
ledudu / pppd-cve.py
Created July 27, 2020 15:33 — forked from namidairo/pppd-cve.py
Xiaomi RM2100 1.0.14 vs. CVE-2020-8597
from scapy.all import *
from socket import *
interface = "enp0s31f6"
def mysend(pay,interface = interface):
sendp(pay, iface = interface)
def packet_callback(packet):
@ledudu
ledudu / tasker_forward_SMS.js
Created October 15, 2019 02:04 — forked from IcedMango/tasker_forward_SMS.js
How to use tasker forward SMS to telegram
//bot秘钥
var apiKey = "";
//请求链接
var apiUrl = "api.telegram.org";
//会话ID
var chatId = "";
//发件人名称
var senderName = global('SMSRN');
if (senderName.match(/\d*/g)[0].length > 0) {
senderName = "";
@ledudu
ledudu / xiaomi-tv-3-root-youtube-note.md
Created February 14, 2018 10:38 — forked from rambolee/xiaomi-tv-3-root-youtube-note.md
[小米盒子3 增强版 : Root + Youtube 配置笔记]小米盒子3 增强版 : Root + Youtube 配置笔记 #小米盒子3增强版 #小米盒子3 #root #youtube #kingroot #Google

小米盒子3 增强版 : Root + Youtube 配置笔记

前提

  • 路由器已经「移民」,参考 这篇 Gist

  • 别人家的效果图(新的 MIUI -- 应用部分展示略有不同)

  • 当前成功(有效)方案实现日期:2017年10月08日

@ledudu
ledudu / nvpproxy.go
Created October 19, 2016 15:11 — forked from jannson/nvpproxy.go
proxy for open.v.p.n
package main
import (
"bufio"
"flag"
"io"
"log"
"net"
"net/http"
"os"