summaryrefslogtreecommitdiffstats
path: root/tupkg/server/tupkgs
diff options
context:
space:
mode:
authorLoui Chang <louipc.ist@gmail.com>2009-01-04 16:44:19 -0500
committerLoui Chang <louipc.ist@gmail.com>2009-01-04 16:44:19 -0500
commit6de9b376d8885e93e6b3b638369b8107189e0ecd (patch)
tree01177dfcf1415b799515182eb20ca3a99125ea92 /tupkg/server/tupkgs
parent6c3e393d4ea2e2d1c518433f5b74a4996dca3404 (diff)
downloadaurweb-6de9b376d8885e93e6b3b638369b8107189e0ecd.tar.xz
Stop printing passwords in tupkgs output.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'tupkg/server/tupkgs')
-rwxr-xr-xtupkg/server/tupkgs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index e43f15d..ec96d4b 100755
--- a/tupkg/server/tupkgs
+++ b/tupkg/server/tupkgs
@@ -110,7 +110,10 @@ class ClientSocket(threading.Thread):
def auth(self):
authdata = self.readMsg(1)
- print authdata
+
+ if (authdata.has_key('username')):
+ print "Trying connection for user %s" % authdata['username']
+
if (not authdata.has_key('username')) or (not authdata.has_key('password')):
self.sendMsg("result=FAIL")
return 0
@@ -189,6 +192,7 @@ class ClientSocket(threading.Thread):
def run(self):
try:
if not self.auth():
+ print "Error authenticating."
self.close()
return
self.readFileMeta()