Skip to content

Instantly share code, notes, and snippets.

View philwinder's full-sized avatar

Phil Winder philwinder

View GitHub Profile
@philwinder
philwinder / htpasswd.py
Created April 28, 2015 12:19
A clone of the popular htpasswd generator.
#!/usr/bin/python
"""Replacement for htpasswd"""
# Original author: Eli Carter
# Cloned from http://trac.edgewall.org/
import os
import sys
import random
from optparse import OptionParser