diff options
author | mkaay <mkaay@mkaay.de> | 2009-11-26 22:05:11 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2009-11-26 22:05:11 +0100 |
commit | 523e2857c47cdef1da6b43523bcf7871ed9e1d63 (patch) | |
tree | d70f49afb347c656e90050497a07711cb382f61d /module/remote/ClientHandler.py | |
parent | basic curses cli (diff) | |
download | pyload-523e2857c47cdef1da6b43523bcf7871ed9e1d63.tar.xz |
complete new file_list, cleaned up
Diffstat (limited to 'module/remote/ClientHandler.py')
-rw-r--r-- | module/remote/ClientHandler.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/module/remote/ClientHandler.py b/module/remote/ClientHandler.py deleted file mode 100644 index 9653db9ae..000000000 --- a/module/remote/ClientHandler.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env python -# -*- coding: utf-8 -*- - -""" -authored by: RaNaN - -this module handels the incoming requests - -""" -import hashlib - -from Crypto.Cipher import Blowfish -from RequestHandler import RequestHandler - -class ClientHandler(RequestHandler): - def __init__(self, client, pw): - self.client = client - key = hashlib.sha256(pw) - self.bf = Blowfish.new(key.hexdigest(), Blowfish.MODE_ECB) - - def proceed(self, data): - obj = self.decrypt(data) - - self.client.data_arrived(obj)
\ No newline at end of file |