Advertisement
Arbitrator

Untitled

May 26th, 2019
6,664
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.21 KB | None | 0 0
  1. # model user: 1NL33
  2. # model key: UDDM-PPCT-758P-XK8N
  3.  
  4. import random
  5.  
  6. output = open("/Users/willmorrison/Desktop/crackCleanScripts/malwarebytes/output.txt", "w")
  7.  
  8. possibilityList = [0,1,2,3,4,5,6,7,8,9,'Q','W','E','R','T','Y','U','I','O','P','A','S','D','F','G','H','J','K','L','Z','X','C','V','B','N', 'M']
  9. letterPossiblities = ['Q','W','E','R','T','Y','U','I','O','P','A','S','D','F','G','H','J','K','L','Z','X','C','V','B','N','M']
  10. numberPossibilites = [0,1,2,3,4,5,6,7,8,9]
  11.  
  12.  
  13.  
  14. runTimes = int(input("How many times should this run: "))
  15.  
  16. for i in range(runTimes):
  17.     userid = ""
  18.     key = ""
  19.     # make user id
  20.     counter = 0
  21.     for i in range(5):
  22.         if counter == 0 or counter == 3 or counter == 4:
  23.             userid += str(random.choice(numberPossibilites))
  24.         else:
  25.             userid += str(random.choice(letterPossiblities))
  26.         counter += 1
  27.    
  28.     # make key
  29.     counter = 0
  30.     for i in range(4):
  31.         for i in range(4):
  32.             key += str(random.choice(possibilityList))
  33.         counter += 1
  34.         if counter == 4:
  35.             continue
  36.         else:
  37.             key += "-"
  38.  
  39.     combo = "{}:{}".format(userid, key)
  40.     output.write(combo + "\n")
  41.  
  42. output.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement