2010-01-20 18:36:43 +01:00
|
|
|
diff -ru pymsnt-0.11.3-vanilla/src/utils.py pymsnt-0.11.3/src/utils.py
|
2010-08-15 21:51:09 +02:00
|
|
|
--- pymsnt-0.11.3-vanilla/src/utils.py 2008-02-08 14:55:07.000000000 +0100
|
|
|
|
+++ pymsnt-0.11.3/src/utils.py 2010-08-15 21:46:32.000000000 +0200
|
|
|
|
@@ -7,7 +7,7 @@
|
2010-01-20 18:36:43 +01:00
|
|
|
return el.getAttribute((u'http://www.w3.org/XML/1998/namespace', u'lang'))
|
|
|
|
|
|
|
|
|
|
|
|
-import sha
|
2010-08-15 21:51:09 +02:00
|
|
|
+from hashlib import sha
|
2010-01-20 18:36:43 +01:00
|
|
|
def socks5Hash(sid, initiator, target):
|
2010-08-15 21:51:09 +02:00
|
|
|
return sha.new("%s%s%s" % (sid, initiator, target)).hexdigest()
|
2010-01-20 18:36:43 +01:00
|
|
|
|
|
|
|
diff -ru pymsnt-0.11.3-vanilla/src/xdb.py pymsnt-0.11.3/src/xdb.py
|
2010-08-15 21:51:09 +02:00
|
|
|
--- pymsnt-0.11.3-vanilla/src/xdb.py 2008-02-08 14:55:07.000000000 +0100
|
|
|
|
+++ pymsnt-0.11.3/src/xdb.py 2010-08-15 21:46:57.000000000 +0200
|
2010-01-20 18:36:43 +01:00
|
|
|
@@ -6,7 +6,7 @@
|
|
|
|
import os
|
|
|
|
import os.path
|
|
|
|
import shutil
|
|
|
|
-import md5
|
2010-08-15 21:51:09 +02:00
|
|
|
+from hashlib import md5
|
2010-01-20 18:36:43 +01:00
|
|
|
import config
|
|
|
|
|
|
|
|
X = os.path.sep
|