Skip to content

Instantly share code, notes, and snippets.

h3ku / Compile.txt
Last active Mar 27, 2018
Hook fail asserts to prevent false positives with AFL
View Compile.txt
go build -buildmode=c-shared -o main.go
Then just LD_PRELOAD the generated .so
from base64 import b64decode, b64encode
import hashlib, argparse
def rc4mi(data, key):
S, j, out = list(range(256)), 0, []
for i in range(256):
j = (j + ord(key[i % len(key)]) + S[i]) % 256
S[i], S[j] = S[j], S[i]
View .tmux.conf
set -g base-index 1
# Automatically set window title
set-window-option -g automatic-rename on
set-option -g set-titles on
set -g default-terminal screen-256color
set -g status-keys vi
set -g history-limit 10000
You can’t perform that action at this time.