Skip to content

Instantly share code, notes, and snippets.

View test.json
{
"schemes": [],
"swagger": "2.0",
"info": {
"description": "This is the sconwar API documentation.",
"title": "Sconwar API",
"contact": {},
"license": {"name":"Apache 2.0",
"url":"http://www.apache.org/licenses/LICENSE-2.0.html"},
"version": "1.0"
View poc.py
#!/usr/bin/env python
# coding=utf-8
import argparse
import datetime
import sys
import time
import threading
import traceback
import socketserver
@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 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]
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.