- Timestamp:
- 2008-12-30T02:39:43Z (16 years ago)
- Branches:
- master
- Children:
- b820226
- Parents:
- a349932
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
skype/skyped.py
ra349932 r8edfc90 30 30 import getopt 31 31 import Skype4Py 32 import sha32 import hashlib 33 33 from ConfigParser import ConfigParser, NoOptionError 34 34 from traceback import print_exception … … 123 123 ret += 1 124 124 line = options.conn.recv(1024) 125 if line.startswith("PASSWORD") and sha.sha(line.split(' ')[1].strip()).hexdigest() == options.config.password:125 if line.startswith("PASSWORD") and hashlib.sha1(line.split(' ')[1].strip()).hexdigest() == options.config.password: 126 126 ret += 1 127 127 except Exception, s:
Note: See TracChangeset
for help on using the changeset viewer.