Skip to content

Instantly share code, notes, and snippets.

Hector Cuesta h3ku

Block or report user

Report or block h3ku

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rc4mi.py
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]
@h3ku
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 fail_assert.so main.go
Then just LD_PRELOAD the generated .so
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.