├── I-don-t-care-about-cookies.crx ├── Noptcha--ReCAPTCHA---hCAPTCHA-Solver.crx ├── README.md ├── chromedriver.exe └── main.py /I-don-t-care-about-cookies.crx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baum1810/protonmail-generator/8706fbb9a6b82df737bcd25f6b95ce675de2914c/I-don-t-care-about-cookies.crx -------------------------------------------------------------------------------- /Noptcha--ReCAPTCHA---hCAPTCHA-Solver.crx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baum1810/protonmail-generator/8706fbb9a6b82df737bcd25f6b95ce675de2914c/Noptcha--ReCAPTCHA---hCAPTCHA-Solver.crx -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # protonmail-generator 2 | this is a project which generates protonmail accounts this is just a proofe of concept that is also the reason why i didnt uploaded the better version 3 | 4 | ## how to use it 5 | 1. install python 6 | 2. install the pips selenium,requests,undetected_chromedriver 7 | 3. u need to have chrome installed 8 | 4. look at your version of your chrome browser and go on https://chromedriver.chromium.org/ and download your version and replace the on already in the project 9 | 5. start the main.py 10 | -------------------------------------------------------------------------------- /chromedriver.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/baum1810/protonmail-generator/8706fbb9a6b82df737bcd25f6b95ce675de2914c/chromedriver.exe -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- 1 | from selenium import webdriver 2 | from selenium.webdriver.common.keys import Keys 3 | from selenium.webdriver.common.by import By 4 | import requests, random 5 | from time import sleep 6 | import undetected_chromedriver as uc 7 | from os import system 8 | option = uc.ChromeOptions() 9 | #PROXY = "154.83.29.201:999" #delete the # to enable proxies u also need to put a http proxie inside 10 | #option.add_argument('--proxy-server=%s' % PROXY) #delete the # to enable proxies 11 | def cls(): 12 | system("cls") 13 | 14 | option.add_argument('--disable-notifications') 15 | option.add_extension("Noptcha--ReCAPTCHA---hCAPTCHA-Solver.crx") 16 | option.add_extension("I-don-t-care-about-cookies.crx") 17 | option.add_argument('--lang=en') 18 | option.headless = False 19 | option.add_argument('--no-sandbox') 20 | option.add_argument('--disable-dev-shm-usage') 21 | option.add_argument('--disable-gpu') 22 | #option.add_argument('--incognito') 23 | option.add_argument('--mute-audio') 24 | option.add_argument('--ignore-certificate-errors') 25 | option.add_argument('--disable-web-security') 26 | option.add_argument('--disable-logging') 27 | #driver = webdriver.Chrome("chromedriver.exe", options=option) 28 | 29 | def main(): 30 | driver = uc.Chrome(options=option) 31 | driver.get("https://account.proton.me/signup?plan=free&billing=24¤cy=EUR&language=en") 32 | cls() 33 | r = requests.get("https://randomuser.me/api/").text 34 | sad, asd = r.split(',"username":"') 35 | name, asdf = asd.split('","password":"') 36 | password, asdsa = asdf.split('","salt":"') 37 | driver.switch_to.frame(0) 38 | driver.find_element(By.XPATH, value='//*[@id="email"]').send_keys(f'{name}.baum') 39 | driver.switch_to.default_content() 40 | driver.find_element(By.XPATH, value='//*[@id="password"]').send_keys(password+password) 41 | driver.find_element(By.XPATH, value='//*[@id="repeat-password"]').send_keys(password+password) 42 | driver.find_element(By.XPATH, value='/html/body/div[1]/div[3]/div[1]/div/main/div[2]/form/button').click() 43 | sleep(3) 44 | elem = driver.find_element_by_xpath("//*") 45 | source_code = elem.get_attribute("outerHTML") 46 | if not "CAPTCHA" in source_code: 47 | cls() 48 | print("captcha not found please complete verification") 49 | input("press enter when done") 50 | 51 | 52 | print("Waiting 20 seconds please be paitent") 53 | sleep(20) 54 | driver.find_element(By.XPATH, value='/html/body/div[1]/div[3]/div/div/main/div[2]/form/button').click() 55 | sleep(5) 56 | driver.find_element(By.XPATH, value='/html/body/div[1]/div[3]/div/div/main/div[2]/form/button[2]').click() 57 | sleep(1) 58 | driver.find_element(By.XPATH, value='/html/body/div[4]/dialog/div/div[3]/button[1]').click() 59 | sleep(3) 60 | driver.find_element(By.XPATH, value='/html/body/div[1]/div[3]/div/div/main/div[2]/ul/li[1]/button').click() 61 | f = open("accs.txt" , "a") 62 | f.write(f"{name}.baum@proton.me:{password}{password}\n") 63 | f.close() 64 | driver.quit() 65 | print(f"Account \nemail: {name}.baum@proton.me generated") 66 | main() 67 | 68 | main() 69 | --------------------------------------------------------------------------------