#!/usr/bin/env python # College of Creative Studies # Password Daemon # # Douglas Thrift # # $Id$ import common import ctypes import ctypes.util from datetime import datetime import fnmatch from M2Crypto import SSL import os import socket, SocketServer import struct import sys import time import traceback ADDRESS = ('', common.PORT) debug = False class PasswordHandler(SocketServer.StreamRequestHandler): def handle(self): self._client() if self.rfile.read(8) != common.HANDSHAKE[0]: return self.wfile.write(struct.pack('