gen_web_users.py 331 B

123456789
  1. import jsonAndRequest as jsreq
  2. import config
  3. import hashlib
  4. botlist=config.BOTLIST
  5. for i in range (len(botlist)):
  6. print(botlist[i], hashlib.md5((botlist[i]+config.PASSWORD).encode('utf-8')).hexdigest())
  7. print (jsreq.createUser(botlist[i],botlist[i],hashlib.md5((botlist[i]+config.PASSWORD).encode('utf-8')).hexdigest()))