Skip to content

Instantly share code, notes, and snippets.

Ben Nagy bnagy

Block or report user

Report or block bnagy

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
bnagy / scansion.ipynb
Created Jun 26, 2018
Teaching a computer to teach me how to scan latin poetry
View scansion.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
bnagy / afl-llvm-rt.o.c
Last active Jun 13, 2018
AFL SHM with guard pages
View afl-llvm-rt.o.c
american fuzzy lop - LLVM instrumentation bootstrap
Written by Laszlo Szekeres <> and
Michal Zalewski <>
LLVM integration design comes from Laszlo Szekeres.
Copyright 2015 Google Inc. All rights reserved.
bnagy / foo.rb
Last active Sep 23, 2015
View foo.rb
#! /usr/bin/env ruby
require 'fileutils'
require 'digest/sha1'
def die_usage
fail "Usage: #{$0} /path/to/fuzzing/root /path/to/output [extension]"
class Collision < StandardError; end
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
// Copyright 2003 Glyph & Cog, LLC
# american fuzzy lop - pause a set of fuzzers
# --------------------------------------
# By @rantyben, based on afl-whatsup, which is:
# Written and maintained by Michal Zalewski <>
# Copyright 2015 Google Inc. All rights reserved.
bnagy /
Last active Aug 29, 2015
Coriander Steamed Goat
  • 1 kg rack of young goat or lamb
  • 3-4 small bunches coriander
  • 2 tbsb coriander seed
  • 1 tsp szechuan pepper
  • 1 tsp salt
  • 1 thumb of ginger
  • 2 garlic cloves
  • 3 green cardamom pods
  • 4-5 fresh green chilis (or to taste)
  • 1-2 cups chicken stock
View pollenate.rb
#! /usr/bin/env ruby
# Pollenate ONE sync dir from each target into all other
# targets fuzzing the same format. Assumes that work
# dirs are named as by
# Each target syncs inside its own directory already
# so copying any of the sync dirs works. It is possible
# that you'll miss some stuff, but it saves N * N-1 sync
View afl-cmin-clobber
#!/usr/bin/env bash
# american fuzzy lop - corpus minimization tool
# ---------------------------------------------
# Written and maintained by Michal Zalewski <>
# Copyright 2014, 2015 Google Inc. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
bnagy /
Last active May 17, 2020
Mutt, Gmail and GPG

GPG / Mutt / Gmail


This is a collection of snippets, not a comprehensive guide. I suggest you start with Operational PGP.

Here is an incomplete list of things that are different from other approaches:

  • I don't use keyservers. Ever.
  • Yes, I use Gmail instead of some bespoke hipster freedom service
You can’t perform that action at this time.