Skip to content

Instantly share code, notes, and snippets.

xanarin /
Created Aug 6, 2021
DEFCON 29 Badge Signer
#!/usr/bin/env python3
import argparse
import random
import sys
def gen_key():
key = ""
for idx in range(32):
key += hex(random.randrange(0, 16)).upper()[-1]
xanarin / treeMatcher.go
Last active Sep 16, 2016
An extension on the Equivalent Binary Trees - ( exercise from the Tour of Go Example on Goroutines - (
View treeMatcher.go
package main
import ""
import "fmt"
// Walk walks the tree t sending all values
// from the tree to the channel ch.
func Walk(t *tree.Tree, ch chan int) {
// Recursive Approach
if (t.Left != nil) {