Skip to content

Instantly share code, notes, and snippets.

View Zerui18's full-sized avatar

Zerui Chen Zerui18

View GitHub Profile
@Zerui18
Zerui18 / binary_search_proof.ipynb
Created December 21, 2023 07:56
Proof that Binary Search
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Zerui18
Zerui18 / gdrive-video-downloader.py
Created December 30, 2021 06:49
Multi-threaded/parted download for videos on google drive, cookies support for Firefox (can also be hardcoded or modified to work with other browsers).
#!python3
import requests
from multiprocessing.pool import ThreadPool
import argparse
import browser_cookie3 as bc
from tqdm import tqdm
SPLITS = 8
MB = 1000000
// start with:
// frida -U -l pinning.js -f [APP_ID] --no-pause
Java.perform(function () {
console.log('')
console.log('===')
console.log('* Injecting hooks into common certificate pinning methods *')
console.log('===')
var X509TrustManager = Java.use('javax.net.ssl.X509TrustManager');