Skip to content

Instantly share code, notes, and snippets.

View xmycroftx's full-sized avatar

Mycroft xmycroftx

View GitHub Profile
@xmycroftx
xmycroftx / webserver
Created July 18, 2018 21:17 — forked from toonetown/webserver
A quick-and-dirty python web server that also handles SSL and client certificate authentication
#!/usr/bin/python
import BaseHTTPServer, SimpleHTTPServer, ssl, argparse, re
from tempfile import mkdtemp
from shutil import rmtree
from contextlib import contextmanager
from OpenSSL import crypto
from os.path import exists, join, abspath
@contextmanager
def TemporaryDirectory():
/*
* SEP firmware split tool
*
* Copyright (c) 2017 xerub
*/
#include <fcntl.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>