Skip to content

Instantly share code, notes, and snippets.

@xperia64
xperia64 / bind.c
Last active Oct 16, 2018
IPv6 bind shim
View bind.c
/*
Copyright (C) 2000 Daniel Ryde
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
View dumbseed.py
#!/usr/bin/env python3
import sys
import os
with open(sys.argv[1], mode='rb') as seeddb:
seedbyte = seeddb.read()[16:]
try:
os.mkdir("seed")