├── Microsoft_Rewards.py ├── README.md └── requirements.txt /Microsoft_Rewards.py: -------------------------------------------------------------------------------- 1 | import pyautogui as pg 2 | import time 3 | import subprocess as sb 4 | import random 5 | 6 | def new_window(): 7 | time.sleep(3) 8 | with pg.hold('ctrl'): 9 | pg.press('n') 10 | time.sleep(2) 11 | 12 | def close_window(): 13 | with pg.hold('ctrl'): 14 | pg.press('w') 15 | 16 | def write(): 17 | time.sleep(3) 18 | pg.typewrite(phrase, 0.03) 19 | time.sleep(2) 20 | pg.press('enter') 21 | time.sleep(3) 22 | 23 | def change_device(): 24 | pg.hotkey('ctrl', 'shift', 'm') 25 | time.sleep(1) 26 | pg.press('f3') 27 | time.sleep(0.5) 28 | pg.press('esc') 29 | time.sleep(3) 30 | 31 | def Generator(): 32 | buono = "" 33 | caratteri = ["A","B","C","D","E","F","G","H","J","K","I","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z", "1","2","3","4","5","6","7","8","9","0"] 34 | for i in range(14): 35 | casuale = random.choice(caratteri) 36 | buono = buono + casuale 37 | 38 | return buono 39 | 40 | count_x = 0 41 | count_y = 0 42 | count_z = 0 43 | x = int(input("Inserire il numero di ricerche da fare su Windows: ")) 44 | y = int(input("Inserire il numero di ricerche da fare su Mobile: ")) 45 | z = int(input("Inserire il numero di ricerche da fare su Edge: ")) 46 | 47 | if x != 0 or y != 0: 48 | #Insert your Firefox path here 49 | sb.Popen("C://Program Files//Mozilla Firefox//firefox.exe") 50 | 51 | time.sleep(6) 52 | 53 | pg.write("ciao", 0.03) 54 | pg.press('enter') 55 | time.sleep(4) 56 | with pg.hold('ctrl'): 57 | pg.press('n') 58 | 59 | #Point on Browser 60 | 61 | while count_x < x: 62 | phrase = Generator() 63 | write() 64 | close_window() 65 | new_window() 66 | 67 | count_x = count_x + 1 68 | 69 | #Point on Mobile 70 | 71 | while count_y < y: 72 | change_device() 73 | 74 | phrase = Generator() 75 | write() 76 | close_window() 77 | new_window() 78 | 79 | count_y = count_y + 1 80 | 81 | if z != 0: 82 | #Insert your Edge path here 83 | sb.Popen("C://Program Files (x86)//Microsoft//Edge//Application//msedge.exe") 84 | time.sleep(8) 85 | 86 | while count_z < z: 87 | phrase = Generator() 88 | write() 89 | close_window() 90 | new_window() 91 | 92 | count_z = count_z + 1 93 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Microsoft-Rewards-Bot 2 | An automatic process to earn point with Microsoft Rewards using Firefox and Edge shortcut 3 | 4 | 1 - First, you need to add the "Microsoft Rewards" extension in Firefox and set the Bing Search Engine as your defaulf page (Homepage) 5 | https://www.microsoft.com/rewards/browser-extension?msclkid=e98576e9b65f11ecaeb7fab59948829b&rtc=1 6 | 7 | 2 - Then you have to install the requirements to let the code run 8 | 9 | pip install -r requirements.txt 10 | 11 | 3 - If your Browser are in wrog path just modify the code: 12 | 13 | Put your Firefox path in line 47 14 | 15 | ![Firefox_path](https://user-images.githubusercontent.com/76116045/217003786-ce862cdf-1dfb-470b-b795-3ed0fac3e556.png) 16 | 17 | Put your Edge path in line 18 | 19 | ![Edge_path](https://user-images.githubusercontent.com/76116045/217005746-a3443df3-07ec-45fd-bec7-a2caed306836.png) 20 | 21 | 4 - Run your python code and have fun with rewards ;) 22 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | pyautogui 2 | --------------------------------------------------------------------------------