Skip to content

Instantly share code, notes, and snippets.

View Hacktivate-TH's full-sized avatar

Hacktivate Co., Ltd. Hacktivate-TH

View GitHub Profile
@Hacktivate-TH
Hacktivate-TH / grpc-edit.py
Last active August 8, 2024 11:05
Mitmproxy extension for editing gRPC messages
#
# Author: Hacktivate Co., Ltd. (https://hacktivate.tech)
#
# Description: This is an mitmproxy extension for editing gRPC messages over HTTP/2.
# Full blog post can be found at: https://hacktivate.tech/2022/10/27/a-hackish-way-to-tamper-grpc-traffic-in-android.html
#
from concurrent.futures.process import _threads_wakeups
@Hacktivate-TH
Hacktivate-TH / frida-tamper-grpc.js
Last active December 1, 2022 14:17
Example Frida script to tamper gRPC messages
/*
# Author: Hacktivate Co., Ltd. (https://hacktivate.tech)
#
# Description: An example Frida script for tampering with streaming gRPC messages.
# Full blog post can be found at: https://hacktivate.tech/2022/10/27/a-hackish-way-to-tamper-grpc-traffic-in-android.html
*/
setTimeout(function() {
Java.perform(function() {