Skip to content

Instantly share code, notes, and snippets.

// @ericbroska
// Fake Security dylib that makes Receigen suck
//
// Usage:
// ----------------------
// 1) compile this file:
// $ clang -dynamiclib -current_version 1.0.0 -compatibility_version 1.0.0 -Wl,-init,_m__n -framework Cocoa -framework Security -lcrypto -o .fakefakefakefakefakesecurity.dylib AntiReceigenSec.m
//
// 2) copy the generated «.fakefakefakefakefakesecurity.dylib» to, say, ./Target.app/Contents/Resources/
// (yes, you can choose any other path inside a target application's bunlde);
import requests
import sys
import json
import re
import os
import string
import argparse
BASE_URL = 'https://api.twitch.tv'