Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block goya191

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
goya191 /
Last active Aug 12, 2016 — forked from fxsjy/
SimpleAuthServer: A SimpleHTTPServer with authentication
import BaseHTTPServer
from SimpleHTTPServer import SimpleHTTPRequestHandler
import sys
import os
import base64
import ssl
import SocketServer
key = ""
# generate cert with openssl req -new -x509 -keyout server.pem -out server.pem -days 365 -nodes
You can’t perform that action at this time.