Skip to content

Instantly share code, notes, and snippets.

@acuifex
acuifex / examplelib.py
Last active February 27, 2024 22:12
Example of communication between OBS scripts/plugins.
# State of this module actually persists between script deletions.
# I think it's loaded the first time it's imported,
# and is kept until OBS shutdown or until OBS somehow deinitializes python.
# You'll probably have to reload this module to reset its state.
# https://stackoverflow.com/questions/437589/how-do-i-unload-reload-a-python-module
globalcount = 0
def print_global(who):
print(who, globalcount)
@acuifex
acuifex / dump.py
Last active April 20, 2023 11:24
steam shared secret dump script
# https://novanoir.moe/blog/2022/11/20/%E3%80%90ROOT%20Android%E3%80%91Steam%203.0%20%E5%AF%BC%E5%87%BA%E4%BB%A4%E7%89%8C%E7%9A%84%E6%95%B0%E7%A7%8D%E6%96%B9%E6%B3%95/
import json
import frida
import sys
package = "com.valvesoftware.android.steam.community"
cmd = """
'use strict;'
if (Java.available) {