dong625 commited on
Commit
7fac7bb
·
verified ·
1 Parent(s): 7e52c15

Update sucode.py

Browse files
Files changed (1) hide show
  1. sucode.py +3 -2
sucode.py CHANGED
@@ -10,8 +10,9 @@ def su(username):
10
  passwords = {}
11
 
12
  for service in services:
13
- password_str = f"{username}{current_time_day}{service}"
14
- password = f"{service}-{hashlib.sha256(password_str.encode()).hexdigest()[2:8]}"
 
15
  passwords[service] = password
16
 
17
  return passwords
 
10
  passwords = {}
11
 
12
  for service in services:
13
+ # password_str = f"{username}{current_time_day}{service}"
14
+ # password = f"{service}-{hashlib.sha256(password_str.encode()).hexdigest()[2:8]}"
15
+ password = "123456"
16
  passwords[service] = password
17
 
18
  return passwords