Writeups and code for smashthestack wargames