Skip to content

Instantly share code, notes, and snippets.

goya191

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
goya191 / SimpleHttpsAuthServer.py
Last active Aug 12, 2016 — forked from fxsjy/SimpleAuthServer.py
SimpleAuthServer: A SimpleHTTPServer with authentication
View SimpleHttpsAuthServer.py
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.