summaryrefslogtreecommitdiffstats
path: root/module/remote/RequestHandler.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-30 17:09:04 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-30 17:09:04 +0200
commit6d2c1e1c9b4dc38d56bc3c5da220675c3d61951d (patch)
tree2a3997206773aa6f5afb8401d3c6d0772feb0b92 /module/remote/RequestHandler.py
parenttango icons for gui (diff)
downloadpyload-6d2c1e1c9b4dc38d56bc3c5da220675c3d61951d.tar.xz
client socket
Diffstat (limited to 'module/remote/RequestHandler.py')
-rw-r--r--module/remote/RequestHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/remote/RequestHandler.py b/module/remote/RequestHandler.py
index 1405fd3eb..212f65b1c 100644
--- a/module/remote/RequestHandler.py
+++ b/module/remote/RequestHandler.py
@@ -21,7 +21,7 @@ from RequestObject import RequestObject
class RequestHandler:
def __init__(self, core):
self.core = core
- key = SHA.new(core.config['remotepassword'])
+ key = SHA.new("pwhere") #core.config['remotepassword']
key = MD5.new(key.hexdigest())
self.aes = AES.new(key.hexdigest(), AES.MODE_ECB)
@@ -32,7 +32,7 @@ class RequestHandler:
func = getattr(self.core, obj.function)
obj.response = func(*obj.args)
else:
- obj.response = "antwort"
+ obj.response = "error happend"
return self.encrypt(obj)