Skip to content

Instantly share code, notes, and snippets.

4ft35t /
Created Jun 20, 2019 — forked from tonyseek/
Overrides the captive portal settings of Android in the People's Republic China Mainland
#!/usr/bin/env sh
adb shell settings put global captive_portal_fallback_url
adb shell settings put global captive_portal_http_url
adb shell settings put global captive_portal_https_url
adb shell settings put global captive_portal_other_fallback_urls
4ft35t /
Created Apr 3, 2019 — forked from Integ/
A useful tool for unpack wxapkg file with python3 surport.
# coding: utf-8
# py2 origin author lrdcq
# usage python3 filename
__author__ = 'Integ:'
import sys, os
import struct
class WxapkgFile(object):
View frida-get-AES-keys
#!/usr/bin/env python3
from __future__ import print_function
import frida
import sys
import json
import time
def on_message(message, payload):
if(message['type'] == 'send'):
4ft35t /
Last active Aug 21, 2020 — forked from benkulbertis/
Cloudflare API v4 Dynamic DNS Update in Bash
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare "profile" - "api-tokens" - "Global API Key"
record_name="" # must add on cloudflare websit before run this script. Or you will get error `Method PUT not available for that URI`
ip=$(curl -s
4ft35t / SCITV_UDPXY.M3U
Created Jun 15, 2018 — forked from zxp/SCITV_UDPXY.M3U
[四川电信ITV 190个频道的组播表] 四川电信IPTV 190个频道的组播表,截取于2017年8月 #scitv #iptv #sichuan
#EXTM3U name="四川电信IPTV"
View WeiyunExporter.js
(function() {
function escapeQuote(str) {
return str.replace("\"", "\\\"");
function buildAria2Url(name, url) {
return `aria2c -c -s10 -k1M -x16 --enable-rpc=false ` +
`-o "${escapeQuote(name)}" ` +
`--header "${escapeQuote(window.navigator.userAgent)}" ` +
`--header "Referer: ${escapeQuote(window.location.toString())}" ` +
4ft35t / ingress-passcode.js
Created May 27, 2018 — forked from idealhack/ingress-passcode.js
ingress passcode auto run
View ingress-passcode.js
// disable iitc plugin if it's on
// go to
// open console and paste in the code below, press enter
// join for more passcodes
// add jquery
var jq = document.createElement('script');
jq.src = "";
4ft35t /
Created Apr 2, 2018 — forked from ficapy/
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: ficapy
import io
from urllib.parse import urlencode
from base64 import b64encode
from pdf2image import convert_from_bytes
from PyPDF2 import PdfFileWriter, PdfFileReader
4ft35t / OpenWrt detect new device and send text Detect new network devices connecting to OpenWrt and send text message
View OpenWrt detect new device and send text
4ft35t / who-weibo.js
Created Sep 5, 2017 — forked from zh-h/who-weibo.js
View who-weibo.js
function decodeBase62(number) {
var alphabet = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
var out = 0
var len = number.length - 1
for (var t = 0; t <= len; t++) {
out = out + alphabet.indexOf(number.substr(t, 1)) * Math.pow(62, len - t)
return out