Skip to content

Instantly share code, notes, and snippets.

View katsugeneration's full-sized avatar

Katsuya Shimabukuro katsugeneration

View GitHub Profile
@NeoCat
NeoCat / LibHook.h
Created December 25, 2011 13:48
Hook hidden symbol call (x86_64)
#include <string.h>
#include <dlfcn.h>
#include <err.h>
#include <errno.h>
#include <sys/mman.h>
#define LIB_PATH "libc.so.6"
template <class RET, class... ARGV>
class LibHook {
@yohokuno
yohokuno / twitter_replies.py
Last active December 15, 2017 05:27
Twitter replies collector from public stream API
#!/usr/bin/env python3
import tweepy
import re
import argparse
import sys
import time
import traceback
# Fill with your Twitter API keys!
consumer_key = ''