Skip to content

Instantly share code, notes, and snippets.

View jhertz's full-sized avatar

jhertz

View GitHub Profile
@jhertz
jhertz / papers.md
Created July 30, 2018 03:16
Security Papers I Like

In absolutely no order

@jhertz
jhertz / Vagrantfile
Last active September 26, 2016 06:11
vagrantfile to setup a VM for fuzzing using AFL
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/xenial64"
config.vm.provider "virtualbox" do |vb|
vb.memory = "4096"
vb.cpus = 2
end
config.vm.provision "shell", inline: <<-SHELL
apt-get update
@jhertz
jhertz / scrape.sh
Last active August 29, 2015 14:21
SBR scraper
#!/bin/bash
#bash one liner to scrape SBR
#needs pup, curl, awk, grep
#usage: ./scrape.sh "http://smashboards.com/rankings/the-big-house-4-melee-singles-top-192.2364/event"
#prints SB usernames, in order. ignores unclaimed players
curl $1 | pup 'td.resultUsr a attr{href}' | grep members | awk -F'/' '{print $2}' | awk -F'.' '{print $1}'
## TO pool time calculator
## @author hectohertz
## shoutouts to JuggleGuy for the formulas
max_num_setups = 14 # total number of setups
K = 1.2 #effiency value
match_time = 10 # time it takes per match