|
|
@ -40,7 +40,7 @@ for username in usernames:
|
|
|
|
userdata['username'] = username
|
|
|
|
userdata['username'] = username
|
|
|
|
userdata['password'] = password
|
|
|
|
userdata['password'] = password
|
|
|
|
# userdata['password_sha1'] = passwd(password)
|
|
|
|
# userdata['password_sha1'] = passwd(password)
|
|
|
|
userdata['password_sha1'] = sha1(password.encode("utf-8"))
|
|
|
|
userdata['password_sha1'] = sha1(password.encode("utf-8")).hexdigest()
|
|
|
|
userdata['port'] = curport
|
|
|
|
userdata['port'] = curport
|
|
|
|
userdata['servername'] = servername
|
|
|
|
userdata['servername'] = servername
|
|
|
|
users.append(userdata)
|
|
|
|
users.append(userdata)
|
|
|
|